Hi Laurie and Dave, 

I am reading contradictory information from different sources on the
Internet and I am getting confused. 

i) Assuming that I am writing a JSP page to register a new user using a
form: I should implement an ActionForm to retrieve the data entered by the
user, correct? I should also implement an Action to manage such
registration, correct?

ii) I can use Hibernate to have a new user created and saved automatically
in the database. Where I am not clear is whether I should directly invoke my
user bean in the Action and let Hibernate handle persistence or whether I
should implement an EBJ and have the Action delegate the job? Some sources
indicate that I should implement EBJ to perform such tasks. What is the
proper way?

iii) Dave, I don't understand your comment, can you elaborate? What am I
missing about Struts 2?

Thanks, 

J.
-- 
View this message in context: 
http://www.nabble.com/Action-and-ActionForm-newbie-questions-tp19692405p19696185.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to