File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Swing clent calls EJB component

khalid Akhtar

Joined: Nov 21, 2007
Posts: 3


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.

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
Ranch Hand

Joined: Feb 01, 2005
Posts: 580

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.


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
I agree. Here's the link:
subject: Swing clent calls EJB component
It's not a secret anymore!