wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes ejb on weblogic 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "ejb on weblogic 8.1" Watch "ejb on weblogic 8.1" New topic

ejb on weblogic 8.1

Ravi Bansal
Ranch Hand

Joined: Aug 18, 2008
Posts: 84
Hi guys,
I have very simple question ....when i deploy the EJB on weblogic 8.1,does it generate the stub classes[required for client] automatically after deployment? If Yes , what is the path of those classes on the weblogic dir?

If no, then how can i get those stub classes ? i tried using weblogic.appc on the deployed jar , but i m getting some exception , i think its an issue with classpath which is missing some jar having the below Main class....

Compiler class: 'com.sun.tools.javac.Main', not found
at weblogic.appc.compileEJB(appc.java:783)
at weblogic.appc.compileInput(appc.java:465)
at weblogic.appc.runBody(appc.java:186)
at weblogic.utils.compiler.Tool.run(Tool.java:192)
at weblogic.utils.compiler.Tool.run(Tool.java:147)
at weblogic.appc.main(appc.java:1037)

SCJP 5.0 94%
Joe Ess

Joined: Oct 29, 2001
Posts: 8836

com.sun.tools.javac.Main is the Java compiler. It is found in the $JAVA_HOME/lib/tools.jar file.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ravi Bansal
Ranch Hand

Joined: Aug 18, 2008
Posts: 84
Thanks for reply JOE
one more question , i read somewhere on this forum that WL app server supports the dynamic stub loading (clientjust need to have classes home and remote interface in the classpath) Can i see somewhere the stub classes that Web logic sends to the client JRE ?
It is sorta covered in the JavaRanch Style Guide.
subject: ejb on weblogic 8.1
Similar Threads
An exception, JBuilder and Weblogic! could u help me?
WebLogic 8.1 JSP precompilation problem
appc help!
problem with appc task.
EJB Application dev process