File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes simple client to call EAR running in WAS server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "simple client to call EAR running in WAS server" Watch "simple client to call EAR running in WAS server" New topic
Author

simple client to call EAR running in WAS server

Yog Ananth
Greenhorn

Joined: Dec 28, 2004
Posts: 27
Is it possible to invoke normal java client to my application (test.EAR) is running in WAS server ? I am getting communication exception. Please provide some sample client to invoke ejb is running in was server.

Thanks in advance

YOGA
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

When you say Java client, do you mean a stand-alone Java application, like a swing or awt product? If so, they must run inside a J2EE client container provided by WebSphere. They can't run in a normal SDK JVM. It's provided by IBM.

If you mean a Java client such as a servlet, especially if it's running in the same EAR, it should be a normal lookup, such as the code below:



-Cameron McKenzie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: simple client to call EAR running in WAS server