This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

want to learn struts by own

 
Dhruva Mistry
Ranch Hand
Posts: 67
Eclipse IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

may i ask anyone to provide me links helpful to me for learning struts by own in a very sound way?
and path to follow for learning ie from where to start and then what topic should be next and so on?

Kind Regards,
Dhruva


 
Joe Ess
Bartender
Posts: 9300
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our Struts FAQ is a good starting point as it has pointers to numerous tutorials and books.
If you want a well-structured approach, buying a book may be your best bet. I'm a fan of Programming Jakarta Struts for Struts 1 and Struts 2 Design and Programming for Struts 2.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A strong understanding of the Model-View-Controller design pattern will enable you to learn the Struts framework faster and correctly program the Struts components.

In terms of the design pattern mentioned above, the Struts framework only provides for the Controller and View parts of the design pattern. Keep in mind that the Struts download does not include a View and a Controller, it consists of incomplete code that you customize and extend for your application. In other words, you write the code for your Controller and View parts and use the appropriate pieces from what Struts provides.

In regards to business logic and related code, Struts code is not involved. Coding business logic in the Struts Action classes is the most prevalent mistake made and should be avoided.

 
Bilal A. Siddiqui
Ranch Hand
Posts: 53
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dhruva,

You can also refer Struts2 in action by manning publication. Its an ultimate book.
 
Dhruva Mistry
Ranch Hand
Posts: 67
Eclipse IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BilalSiddiqui Siddiqui wrote:Hi dhruva,

You can also refer Struts2 in action by manning publication. Its an ultimate book.


Thank you very much, Joe, Bilal and James

i read somewhere buisness logic is made in java files ie servlets or simpe java files that is for controller part
i seen action mappings in strut-config there we need to provide type and path attributes.

but James, i could not fully understand
In regards to business logic and related code, Struts code is not involved. Coding business logic in the Struts Action classes is the most prevalent mistake made and should be avoided.

would you please simplify it for me?
Thank you!
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
would you please simplify it for me?


Do you understand the differences between (business) logic and (infrastructure/system/service) logic?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic