Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking one bean from within another

Nair Anoop
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic