4 Working with JDeveloper

This chapter contains the following topics:

4.1 Understanding JDeveloper

Note:

If you are using JD Edwards EnterpriseOne Tools Release 9.2 with JD Edwards EnterpriseOne Applications Release 9.2, JDeveloper 12c is installed on your system. With JDeveloper 12c, you can create only JAX-WS business services.

If you are using JD Edwards EnterpriseOne Tools Release 9.2 with JD Edwards EnterpriseOne Applications Release 9.0 or 9.1, JDeveloper 11g is installed on your system. With JDeveloper 11g, you can create JAX-WS and JAX-RPC business services.

Oracle's JDeveloper provides an integrated development environment for creating JD Edwards EnterpriseOne business services. The JD Edwards EnterpriseOne package includes a JDeveloper extension. The extension package contains JD Edwards EnterpriseOne code features that help you create business services. Among these code features are wizards that generate a structure for creating a Java class. Wizards for generating code to call a business function or a data base operation are included in the extension package. The extension package also provides code templates specifically designed to help you develop and test business services. The wizards and code templates help you by enforcing coding conventions so that your business service classes can be exposed as web services.

For JDeveloper 12c, the extension package and plugins are loaded into JDeveloper when you use a feature provided by the extension. For loading EnterpriseOne development extensions, select the option Initialize E1 Workspace under the Tools menu after launching JDeveloper from JD Edwards EnterpriseOne Object Management Workbench (OMW).

Note:

If you use JDeveloper 11g, plugins and extensions are automatically installed when you launch JDeveloper from JD Edwards EnterpriseOne Object Management Workbench (OMW).

For JDeveloper to successfully be installed to your development client, you should verify that your system meets the Minimum Technical Requirements (MTRs) for the hardware and software that is required to install JDeveloper. See document 745831.1 (JD Edwards EnterpriseOne Minimum Technical Requirements Reference) on My Oracle Support:

https://support.oracle.com/rs?type=doc&id=745831.1

If you use non-English characters or data in your business services, you can configure JDeveloper to support UTF-8.

See Also:

For more information about Oracle JDeveloper, see the Oracle Fusion Middleware User's Guide for Oracle JDeveloper. This document is located under the Fusion Middleware section on the documentation page of the Oracle Technology Network website.

4.2 Creating Java Standards-Based Web Services in JDeveloper

JDeveloper 12c supports the Java API for XML-Based Web Services (JAX-WS) standard for creating both provider and consumer business services. JDeveloper 12c supports creating JAX-WS business services only.

Note:

If your system has JDeveloper 11g installed, you can create business services for these two web service standards:
  • Java API for XML-Based Remote Procedure Calls (JAX-RPC)

  • Java API for XML-Based Web Services (JAX-WS)

JDeveloper includes the integrated WebLogic server. After you create a web service, you deploy it to the integrated WebLogic server so that you can test it.

4.2.1 Understanding JAX-RPC Web Services

JAX-RPC is an API for building web services and clients that use remote procedure calls (RPC) and XML. In JAX-RPC, a remote procedure call is represented by an XML-based protocol such as SOAP. The SOAP specification defines the envelope structure, encoding rules, and a convention for representing remote procedure calls and responses. These calls and responses are transmitted as SOAP messages over HTTP. The Web Service Definition Language (WSDL) specifies the XML format for describing the service as a set of endpoints operating on messages.

Note:

JD Edwards EnterpriseOne business services use JAX-RPC with SOAP 1.1 over HTTP 1.1 and WSDL 1.1.

4.2.2 Understanding JAX-WS Web Services

JAX-WS is an API for building web services and clients that are message oriented. JAX-WS supports transmission of SOAP messages over HTTP. It also supports sending XML messages over HTTP without SOAP. JAX-WS delegates data binding related tasks to JAXB. JAXB provides support for Java to XML mapping, additional support for less used XML schema constructs, and bidirectional customization of Java and XML data binding.

Note:

JD Edwards EnterpriseOne business services use JAX-WS with SOAP 1.1 over HTTP 1.1 and WSDL 1.1. The SOAP message format is Document/Literal.

4.3 Viewing JD Edwards EnterpriseOne Code Templates in JDeveloper

The JD Edwards EnterpriseOne code templates are preconfigured in JDeveloper11g. All of the templates you need to generate code and to support business services are provided, though you can add and create new templates if you want to.

To view the code templates, select Tools, Preferences, Code Editor, and then Code Templates.