Developer Tools
JDeveloper
When you complete the step, the Application Navigator should look similar to this:
In the Application Sources folder under Project1, you should see the LoginInfo.java file in the package project1.backing.
By default, JDeveloper automatically configures an integrated server named Integrated WebLogic Server that references a user-specific instance of Oracle WebLogic Server bundled with the IDE. Integrated WebLogic Server is a Java EE runtime service for packaged archive deployment. Based on zero-copy deployment, Integrated WebLogic Server lets you run and test an application and its projects as a Java EE application in a Java EE container. No special connection setup is required to use Integrated WebLogic Server. You can run the entire application, a project, or individual JSF pages.
When you run a JSF application in the IDE, JDeveloper automatically:
http://<your_machine_IP_address>:<http_port>/<your_application_name>-<your_project_name>-context_root>/faces/<path_to_the_JSP>
For example:
http://127.0.0.1:7101/JSFNavigateApp-Project1-context-root/faces/Login.jsp
When you run the Login page, the page in your browser should look similar to this:
When you enter
guest in the input field and then click the
Login button, you should see the page that has the message confirming that you are logged in.
When you enter anything else and then click the Login button, you should see the page that has the message telling you the login has failed.
To stop the application, click
Terminate in JDeveloper and choose the application bound instance
JSFNavigateApp from the dropdown menu.
Note: Terminating the application stops and undeploys the application from Integrated WebLogic Server but it does not terminate Integrated WebLogic Server.
Copyright © 1997, 2009, Oracle. All rights reserved.