• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

EJB and Swing

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic