File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 86
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: 8927
    
    9

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: 86
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