Hi,

I am a newbie to struts2.
I am planning to use Struts2 and hibernate in my project.
Below is my application flow.

xxxx.jsp --> xxxxAction.java(POJO) --> xxxxHelper.java --> 
HibernateUtil.java --> DB

Wherein 
xxxxAction.java will do the delegation to Helper class.
xxxxHelper.java will contain the autual business logic.
HibernateUtil.java will contain the logic to persist the data in db.

Should i need the separation of Action and Helper class? Or can i have the 
business logic in Action class itself?

Kindly let me know which one is the best approach.Otherwise kindly let me 
suggest some other best practices.


Thanks & Regards
Bala

This email is confidential. If you are not the addressee tell the sender 
immediately and destroy this email
without using, sending or storing it. Emails are not secure and may suffer 
errors, viruses, delay,
interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup") 
do not accept liability for
damage caused by this email and may monitor email traffic.

Reply via email to