Show TOC

Creating Platform-Independent Java EE ApplicationsLocate this document in the navigation structure

Use

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 this 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 SAP NetWeaver Administrator.

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

Procedure

Configuring Persistence Resources

More information about configuring persistence resources using SAP NetWeaver Administrator:

Configuring EJB Resources

More information about configuring EJB resources using SAP NetWeaver Administrator:

  • Editing EJB Environment

Configuring JMS Resources

More information about configuring JMS resources using SAP NetWeaver Administrator:

Configuring Java Connector Architecture (JCA) Resources

More information about configuring JCA resources using SAP NetWeaver Administrator:

Configuring Web Resources

More information about configuring Web resources using SAP NetWeaver Administrator: