• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reza, EJB 3.1 Its interesting

 
Chaminda Amarasinghe
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Reza,

I think pointing a question to a specific user is not a violation of "SO-CALLED" policy of java ranch.

Reza, I could find a time in last weekend to go through feature list of ejb3.1 you pointed.

There 2 features caught my eye,

Singleton Beans:
I think this is a big improvement over ejb3. I have faced such requirements many times.

Improvement of Timer
In EJB3, even there is timer I always go Quarts for scheduling. When EJB3.1 comes in to action, I think its time to say good bye to Quarts. Seems in EJB3.1 timer is almost complete.

And EJB light also would be a good specially in testing prospective.

I like to suggest one feature, May be this should be implemented in Servlet . Anyway this is what Im thinking, It would be grate if a Statefull session bean can share the session in Servlet context. It is a real pain to developer to save the ejb in Servlet session and get back from it.
What Im saying is, Servlet context should use same stateful sessaion bean in all injected references until remove method of ejb is called.

Also I want to comment about your series of article.
Content wise its really nice article(s). But I dont like to the organization of them. Here is in short

1. Follow same URL format in all articles.
2. It would be grate if there is Next and Back links from articles. So reader knows that this is a series.

Thanks
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone provide me with the link that points to where Reza commented on EJB 3.1?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Christophe!
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chaminda,

Thanks for the feedback. Because EJB is a client-agnostic technology, the life-cycle cannot be directly bound to something like an HTTP session. However, Seam in Java EE 5 and WebBeans in Java EE 6 bridges this exact gap through implicit context management so you don't have to manipulate the EJB life-cycle/HTTP session directly.

Regards,
Reza
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys. I'm moving this thread to the EJB forum for further discussion.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!