Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mandatory use of EJB components in assignment part

 
Marwan Adel
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dears,
In my assignment I can hardly find any need for EJB, I do not have special transaction or security constraints to be used, no functionality is needed to be exposed to other parties , No special messaging to use MDB in

Is this common case or there may be a trick somewhere?

Another question is related to the use of MDB: I have some inbox functionality , with tracking capability needed, I found that the best approach is persisting request with assignee and status (inbox , read , processed , closed) rather than using MDB, Any better suggestion.

 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To JMS/MDB or not to JMS/MDB is your question.

As you know JMS would require EJB.

The decision is yours and you should clearly document this in your solution if web-centric is the case.
 
Andres Olarte
Ranch Hand
Posts: 46
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using EJBs is not required. If you try to shoehorn EJBs into a problem that doesn't require it, it might even backfire on you. If you only need to MDB (which is after all a type EJB), that is also fine. You can wire everything in your app using something else (like CDI), and just have a few MDBs. You won't be able to use the Java EE Web Profile, so will have to take into account using a full Java EE platform.

Good luck,

Andres
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic