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 RAD J2EE thin client Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "RAD J2EE thin client" Watch "RAD J2EE thin client" New topic
Author

RAD J2EE thin client

horst manweg
Greenhorn

Joined: Dec 27, 2006
Posts: 6
Hello,

isn't there a build in feature in RAD 6.0 for developing standalone java clients? I had problems assembling all jar-files. Then it worked with WebSphere 6.0 but not in the 5.1, ...

I didn't try out the Websphere Application Client jet, does it integrate with rad?

Is there a good tutorial for developing standalone java or corba applications with the rad? The redbooks from IBM weren't helpful.
I try to develop an application that calls an EJB from C++, in the first step I am trying to make it work with java, ...

Thanks in advance.

Regards,

H. Manweg
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26192
    
  66

Horst,
Yes. An application client is the easiest way to call an EJB from within RAD. For your C++ client, I think you need a web service API rather than just an EJB. This may give you an interface that is easier to call too.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
horst manweg
Greenhorn

Joined: Dec 27, 2006
Posts: 6
Why do you think it is easier to call EJB's from c++ with webservices? I thougt accessing EJB's over CORBA is one advantage of EJB's?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26192
    
  66

Horst,
I would think that web services being language independent would be easier. Just an opinion though - I didn't think about CORBA.

This is why I said "may" instead of "will."
horst manweg
Greenhorn

Joined: Dec 27, 2006
Posts: 6
I still do not understand how to programm a standalone client with the WebSphere Application Client, ...

http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tcli_developthinclient.html

What are the following variables?
%WAS_CLASSPATH%
%WAS_EXT_DIRS%
%WAS_BOOTCLASSPATH%
%SERVER_ROOT%
%CLIENTSAS%

My goal is to avoid packaging a client with all the jars of a websphere runtime, ... I think it is really poor explained how to achieve this goal.

Can someone help?

Thanks
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26192
    
  66

> What are the following variables?
Those are all variables pointing to different parts of the WebSphere installation. The easiest way to find out their values is to insert a print/echo inside the script when you run it.

> My goal is to avoid packaging a client with all the jars of a websphere
> runtime, ... I think it is really poor explained how to achieve this goal.
I don't know how to do that. I agree it is poorly explained.
horst manweg
Greenhorn

Joined: Dec 27, 2006
Posts: 6
Those variables are not in a script they have to be filled out, ... otherwise there would not be a problem.

Did you ever use the thin-client?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26192
    
  66

Originally posted by horst manweg:
Those variables are not in a script they have to be filled out, ... otherwise there would not be a problem.

Did you ever use the thin-client?

I used the application client (once) remotely. It was a nuisance to set up. I had a WebSphere instance on the box though and the classpath was able to refer to it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RAD J2EE thin client
 
Similar Threads
EJB or Servlet
Problem to launch Websphere 6.0 inside eclipse 3.2
JMS resources lookup from simple java Client in WAS6.0
Error while running web service client in RAD 6.0
Nothing is printing on the console