File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Java client to call EJB in JBOSS

 
Alec Lee
Ranch Hand
Posts: 569
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I am calling a remote EJB (in another machine) from an ordinary java class (non-web), do I need to install something in the client machine?
Recall that in J2EE SDK1.3, we need to use the 'runclient' command to run the application client. So what is the part in JBOSS equivalent to a 'runclient' of J2EE SDK?
 
Sanju Thomas
Ranch Hand
Posts: 243
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think there is such a command in the case of JBoss. You can write simple application client and run in any machine. You need jbossall-client.jar in the classpath.
 
Alec Lee
Ranch Hand
Posts: 569
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then is it possible for the client to lookup up UserTransaction and starts a transaction in the client? Would the context propagates to the EJB?

If the client is web, it is possible because web client within web container is a 'J2EE client' (a client which itself confirms to J2EE). But, can a standalone client without something like 'runclient' as the container do J2EE things?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic