• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

is EJB only for web application?

 
Ranch Hand
Posts: 77
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Like jsp, servlets I'm aware that an EJB application is served in a web based container like jboss. But is there any possibility to tie EJB with the backend for business logic in a thick swing based desktop application? right now we are using stored procedures to do most of the business logic at the back end and java swing at the client side. is it possible to call a ejb running on application server from a thick client environment?
 
Ranch Hand
Posts: 814
Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you ased about EJB3 right? EJB2 we can use in EJB container and EJB3 we can use as simple POJO as well as EJB3 as Enterprise Bean in EJB container.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For both EJB 2 and EJB 3 you need an EJB-compatible runtime container, so that makes no difference. EJBs can be used for web apps, desktop apps, background jobs, or any other kind of code that needs connectivity to SQL databases.
 
reply
    Bookmark Topic Watch Topic
  • New Topic