Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Invoking one bean from within another  RSS feed

 
Nair Anoop
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am a newbie to J2EE and am trying to implement a project using the same. My application
architecture is as follows:
(JSP - Bean1 - Bean2) -> (EntityBean) -> Database
|-------------------| |----------|
Client (WAR) Middle(JAR)
Both Bean1 and Bean2 on client side are simple beans with no remote or home interfaces. I know how to call Bean1 from JSP and also how to invoke the EntityBean from Bean2.
Could someone please tell me how to invoke a function of Bean2 from Bean1 - the syntax with some pseudo code. It would be of great help to me.
Thanks,
Anoop
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!