• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interesting stuff

Rohit Ahuja
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fine. Here i go with my questions.
1.Why do i need to look up for a bean.I say this coz i can make an object of the bean and directly fire the bean methods.Agreed i wont be getting the life cycle of the bean.So what?? whats the big deal.
Take a look at this.I have a stateless bean calling up an entity bean.So i call the constructor of the stateless bean in my jsp page which looks up(using initial context etc etc) to an entity bean.My point.the parameters passed on to the session bean as it is are passed on to the entity bean.So why look up and waste my time.
2.Whats the advantage of using UserTransaction(Explicit) over using Declarative transactions.
3.I just read the difference between a JTA Transaction and a JDBC call.It says that JTA is for multiple heterogeneous resources,while a jdbc is for a single resource.Understood partially,but it was more of a bouncer delivery.Please explain.
4.How does a post create help.Agreed bean gets the EJBObject and the primary key in the ejbpostCreate.So what?? Hows it helpful in real time applications.
5.Why aint females in software line pretty looking??

Thanx in advance to whoever helps.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic