Two Laptop Bag*
The moose likes Oracle/OAS and the fly likes compatability between oc4j and other application server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "compatability between oc4j and other application server" Watch "compatability between oc4j and other application server" New topic
Author

compatability between oc4j and other application server

Steve Mutanson
Ranch Hand

Joined: Apr 15, 2003
Posts: 67
I know oc4j comes with jDeveloper. I have following questions ---

1. is oc4j a web container or application server ?
2. does oc4j support EJB and web service ?
3. if I develope some web application and test it on oc4j on windows 2000, how do I deploy this application to another application server like weblogic on UNIX ? Does the difference between weblogic and oc4j require me to make lot of changes on my code ? or can I just deploy the entire EAR or WAR without change ? What kind of change is essential ?
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Let me give you the best answer I can think of.
1. oc4j is an app server.
2. oc4j does support EJBs and web services
3. with both being j2ee compliant you shouldn't have to make any changes. In theory there shouldn't be any code changes and you should be able to simply drop the ear file. In practice you might have to change some config file(s) but that's a guess on my part.
Steve Mutanson
Ranch Hand

Joined: Apr 15, 2003
Posts: 67
one more question ---

I know Oracle 10g JDeveloper comes with the oc4j server. If I have installed another applicationweblogic on windows and create a EJB or WAR using jdeveloper, can I use weblogic instead of oc4j ? The reason why I ask this is I am afraid that jdeveloper is too much closely tight with oc4j...
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Well then my answer to you would be a question: What's forcing you to use JDeveloper?
I work with oc4j every day but we never needed to deploy our ears elsewhere. There is a chance that JDeveloper might create orion-ejb-jar.xml (which is container specific deployment descriptor) therefore your ear might have it, but I doubt that. Would weblogic complain because of that extra file? Don't know.
Probably the best thing for situation like this is to spend an hour and create simple app and see if weblogic complains.

HTH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compatability between oc4j and other application server