|
|
Using OC4J outside of JDeveloper
by Jeff Hunter, Sr. Database Administrator
Contents
Introduction
It is important to understand that these steps are not necessary when developing and debugging
applications since JDeveloper includes an embedded version that gets invoked when you attempt to
run an application that requires it. This version of the OC4J server allows you to test your application
(JSPs, Servlets, EJBs) in an OC4J environment without leaving the JDeveloper environment. There are
times, however, where you may want to emulate deployment to another server. This article documents
the steps necessary to setup and use the embedded OC4J Server to allow it to run outside of JDeveloper.
JDeveloper includes a version of OC4J that can run standalone or from within the JDeveloper IDE.
This comes in handy when you
need to test applications and deployment while using JDeveloper. (i.e. JSPs, Servlets, EJBs).
Whenever you attempt to run a JSP, Servlet or any application that uses an EJB, the JDeveloper
IDE will startup the OC4J Server (often called the embedded OC4J Server) and allows you to
run the application without ever having to leave the JDeveloper IDE environment. Alternatively,
you can run these applications outside of JDeveloper using an OC4J Server (or other J2EE Server).
This methods allows the application developer to access and run applications from outside of
JDeveloper.