File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Swing clent calls EJB component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Swing clent calls EJB component" Watch "Swing clent calls EJB component" New topic
Author

Swing clent calls EJB component

khalid Akhtar
Greenhorn

Joined: Nov 21, 2007
Posts: 2

Hi,

How I connect desktop GUI application made in swing to EJB(Entity component) in weblogic enviornment . I am a beginner of both Swing and EJB. please gide me with code.

Thanks
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
You need to run the Swing client in Application Client Container (ACC), try to search about it.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
    
    5
Khalid,

You can also choose to connect to the JNDI registry of the remote application server and look-up the EJB instances you need. You should take a look at the documentation for your application server, it will tell you what JNDI properties to use.

Regards,
Reza


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
 
jQuery in Action, 2nd edition
 
subject: Swing clent calls EJB component