The moose likes BEA/Weblogic and the fly likes ejb on weblogic 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "ejb on weblogic 8.1" Watch "ejb on weblogic 8.1" New topic
Author

ejb on weblogic 8.1

Ravi Bansal
Ranch Hand

Joined: Aug 18, 2008
Posts: 82
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%
OCE-EJBD 90%
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8262

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: 82
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 ?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ejb on weblogic 8.1
 
Similar Threads
EJB Application dev process
appc help!
An exception, JBuilder and Weblogic! could u help me?
WebLogic 8.1 JSP precompilation problem
problem with appc task.