It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
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: 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%
OCE-EJBD 90%
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8839
    
    7

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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ejb on weblogic 8.1
 
Similar Threads
problem with appc task.
EJB Application dev process
An exception, JBuilder and Weblogic! could u help me?
WebLogic 8.1 JSP precompilation problem
appc help!