• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB and Swing

 
raphael Bereh
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a design issue on which I would appreciate some input.
I am aiming to develop a 3 tiers JDBC application . It is a rather small application, using Open Source resources -(db, containers - if needed, etc.)
The client side preferably will be a SWING UI (fixed). The DB side poses no real issue, it is an RDBMS. The issue really is the middle tier. It seems that EJB is the easier way, compared to creating a whole library to mimic EJBs. Is it really OK to use SWING and EJB?
Any comments would be very welcome. Thanks.
 
Vijay Gopalakrishnan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB's can be accessed from SWT/Swing based applications.
Once you have your business logic implemented in EJBs, you could access it from Stand-alone Java applications, Web Applications based on Applets, Servlets/JSP's or even from non-java applications thru' CORBA.
 
Sami Casab
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used some components from Borland called resolver and provideders. This components gave me the flexibility and power of EJB with some behavor of a query or table. This componente can be attached directly to a dbswing components from borland. This is a Borland solution and you need JBuilder, but if you dont have this components you can write your own code and it is not dificutl because when the the ejb is instansiated from the client the ejb methods calls are very similar (or identical) to normal bean methods calls.
I hope this help you.
 
Sami Casab
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used some components from Borland called resolver and provideders. This components gave me the flexibility and power of EJB with some behavor of a query or table. This componente can be attached directly to a dbswing components from borland. This is a Borland solution and you need JBuilder, but if you dont have this components you can write your own code and it is not dificutl because when the the ejb is instansiated from the client the ejb methods calls are very similar (or identical) to normal bean methods calls.
I hope this help you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!