Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Experts Advice

 
Amit Goda
Ranch Hand
Posts: 37
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

I am developing a Struts based application using Struts 2.3.4 and JPA (Hibernate4.1.5). I am new to Struts as well as to Hibernate. I have previously worked on eclipseLink so i have knowledge about the flow of application using eclipseLink (such as Data controller, Process controller, MVC Pattern).

So my question is...

Can i develop the same flow in Struts using Interceptors ?

The flow i have thought about the application is

1.) the user request will be intercepted by an interceptor and it will check what has to be done (such as sending some other parameters to action class)

2.) the corresponding action class will be invoked

3.) Action completion will be followed by another interceptor and it will decide how and what data will be displayed to the user.


Can anyone help me in this please?

Any advice will be highly appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic