When you complete the steps for creating the persistence unit and Java service facade, the IDE should look similar to this:
JDeveloper opens the ProductsJavaServiceFacade.java file in the source editor. The Java service class contains the methods you have selected to be exposed in the facade.
In the next cue card, you will add code to the
main() method in the Java service class to produce a list of product names.
In the Application Navigator, if you double-click persistence.xml to open the file in the overview editor, you should see two persistence units:
When you click the Source editor tab to switch to the XML editor, you should see the code JDeveloper generated for you when you created the new persistence unit that is configured to run outside a container:
<persistence-unit name="Project1-Outside" transaction-type="RESOURCE_LOCAL"> <provider> org.eclipse.persistence.jpa.PersistenceProvider </provider> <class> project1.ProductsBase </class> <properties> ... </properties> </persistence-unit>
Copyright © 1997, 2009, Oracle. All rights reserved.