Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle and web server
On Mon, 09 Sep 2002 02:33:26 +0200, unknown wrote:
Now, first you need to get Apache going, that should be no problem.
Next, you get Oracle OC4J which, when installed per default will listen on port 8888. Then you update Apache's conf file to use mod_proxy so it will know what to send on to 8888 from 80.
Then you start Apache and OC4J.
Then you start JDeveloper9i (Version 9.0.3 preview just made it to otn.oracle.com) and open a new workspace with a new empty project in it. Then you select that project and create a new servlet, for example. The default servlet will return the time of day to you.
Build the project.
Create a new application server connection and point it to your instance of OC4J and make sure it works.
Next go back to your project and create a deployment profile for your servlet and deploy it. The deployment descripter editing wizards will tell you what the name in your browser will be.
Next go to your browser and call the thing.
Except for the Apache configuration stuff EVERYTHING else is menu and wizard driven, and there really is not way known to man kind that you can do anything wrong.
To get the hang of it, just start with OC4J without Apache and operate on port 8888 from your browser.
Then you advance to creating a JSP.
Then you advance to actually have your code do something exiting, like accessing the database.
Then you achieve your master's degree by advancing to using the BC4J framework.
The nice thing is: IT'S ALL IN THE ONLINE DOCS FOR JDEVELOPER, tutorials et al.
-- Cheers, dmz17 --- If I had an Xbox it would run Linux ---Received on Wed Sep 11 2002 - 02:00:21 CDT