• 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

Regarding EJB Project Structure

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What should be a good design pattern/Structure for an EJB based Enterprise Project.

Currently i follow the following pattern:

An EAR with EJB Module and Web Module.

I make Web Module dependent on EJB module's Client Module. (Through Buildpath)

Can this be improved? I mean is it good to have dependency among Projects. should i export EJB Module's Client Module as a JAR then put it in Web Module. Will it improve the Design?
 
author
Posts: 580
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Juggy,

What you have is just fine. Indeed, I don't even bother with an EJB client module.

Regards,
Reza
 
Juggy Obhi
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Reza,

Thanks for your advice and at the same time for your book EJB 3 in Action it helped me in getting 91%.
 
Reza Rahman
author
Posts: 580
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Juggy,

My pleasure and thanks for the kind words. I have been considering writing an article on how to setup EJB 3 IDE based projects using our GlassFish example code. Maybe I should try to make it a higher priority...

Regards,
Reza

P.S.: If you get a chance, an Amazon review is highly appreciated. We have some excellent reviews, but still just a handful compared to some other major EJB 3 titles.
 
I don't even know how to spell CIA. But this tiny ad does:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic