Show TOC

Procedure documentationCreating Platform-independent Java EE Applications Locate this document in the navigation structure

 

One of the goals of the Java EE specification is to enable software vendors to create platform-independent applications. The Java EE architecture enables this in a number of ways. For example, by enabling resource injection using annotations, unified data model using EJB components, and so on.

Nevertheless, many applications need to use certain settings that are platform-specific. For example, this can be the data source name, the JDBC connection URL, JNDI lookup Strings, and other environment entries. If you embed these data inside applications, you have to modify them for each platform you or your customers work with. In AS Java, there is the alternative to use the respective properties configurable in NetWeaver Administrator.

As stated above, we recommend using the respective properties in NetWeaver Administrator for providing platform independence to your applications.

Procedure

Configuring Persistence Resources

More information about configuring persistence resources using NetWeaver Administrator:

Configuring EJB Resources

More information about configuring EJB resources using NetWeaver Administrator:

  • Editing EJB Environment

Configuring Java Connector Architecture (JCA) Resources

More information about configuring JCA resources using NetWeaver Administrator:

Configuring Web Resources

More information about configuring Web resources using NetWeaver Administrator: