How can we communicate from struts to ejb?

Showing Answers 1 - 5 of 5 Answers

ramesh

  • Sep 27th, 2006
 

strut frame work have Action class. This Action class contain execute() method.this method interact with model......your model code maybe in EJB/JDBC/Hibernate.......u can call that methods in execute().

with in the execute() u can call business delegate---> service loactor--->jndi--->to SessionFacade.

  Was this answer useful?  Yes

Arijit Chaudhury

  • Oct 11th, 2006
 

In Struts architecture Action class contain execute() method, within execute() method you can access database through jdbc or EJB. You can call the reference of entity bean class by jndi call and easily fetch data from database.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions