Using EJB in Java Desktop Application

K

KirkoR

Hi,
I wonder this topic. Is using EJB containars in desktop application
have sens? Theoretically this is possible, but is this helpful? EJB is
great technology and using it with stand alone application can be
interesting and give us a great possibilities.
 
A

Arne Vajhøj

KirkoR said:
I wonder this topic. Is using EJB containars in desktop application
have sens? Theoretically this is possible, but is this helpful? EJB is
great technology and using it with stand alone application can be
interesting and give us a great possibilities.

Having a desktop app making calls to EJB running on a server
is seen - not quite as popular as a web interfaces, but seen
occasionally.

You can not run a desktop GUI (Swing or SWT) inside an
EJB container, so you need both a client app and a server.
The server could run on the client PC, but I doubt that will
make sense in most cases.

Arne
 
O

Owen Jacobson

Having a desktop app making calls to EJB running on a server
is seen - not quite as popular as a web interfaces, but seen
occasionally.

You can not run a desktop GUI (Swing or SWT) inside an
EJB container, so you need both a client app and a server.
The server could run on the client PC, but I doubt that will
make sense in most cases.

Arne

Nothing in the EJB specification forbids an EJB container from running
inside a GUI app -- however, the EJBs themselves are not permitted to
create or manipulate GUI elements (except possibly indirectly via
callbacks). However, I'm not aware of any EJB containers designed for
embedding inside other apps; most people who want something like that
seem to be settling on Spring instead, as it imposes far fewer
requirements.
 
A

Arne Vajhøj

Owen said:
Nothing in the EJB specification forbids an EJB container from running
inside a GUI app -- however, the EJBs themselves are not permitted to
create or manipulate GUI elements (except possibly indirectly via
callbacks). However, I'm not aware of any EJB containers designed for
embedding inside other apps; most people who want something like that
seem to be settling on Spring instead, as it imposes far fewer
requirements.

I must admit that running an app server embedded in a GUI app did
not cross my mind.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top