Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb on weblogic 8.1

 
Ravi Bansal
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Joe Ess
Bartender
Pie
Posts: 9264
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
com.sun.tools.javac.Main is the Java compiler. It is found in the $JAVA_HOME/lib/tools.jar file.
 
Ravi Bansal
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic