wood burning stoves 2.0*
The moose likes Struts and the fly likes Spring live book - reader question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Spring live book - reader question " Watch "Spring live book - reader question " New topic
Author

Spring live book - reader question

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, Matt Raible , is your book require basic understanding of xml ? thank you !
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi,Matt Raible , i have little knowledge on struts , will it help me to understand easily on spring?
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Originally posted by Alvin chew:
hi, Matt Raible , is your book require basic understanding of xml ? thank you !


I think, you not require have knowledge/understand in xml BUT you must have knowledge in part of configuration of spring framework.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Originally posted by Alvin chew:
hi,Matt Raible , i have little knowledge on struts , will it help me to understand easily on spring?


Struts and Spring Framework are support MVC(Model-View-Controller) framework. So, it's easy to study/understand spring framework.
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Originally posted by Alvin chew:
hi, Matt Raible , is your book require basic understanding of xml ? thank you !


It doesn't require a detailed understanding of XML. You simply need to be able to type XML. All of the code and examples are available for download so if something doesn't work for you - you can always look at the completed examples. Part of my goal in the examples is to keep everything very simple. In most cases, you just need know how to run Ant commands and to startup Tomcat. If you use Eclipse and the Sysdeo Tomcat Plugin, you can do everything from w/in your IDE.


Matt<br /> <br />Author: <a href="http://springlive.com" target="_blank" rel="nofollow">Spring Live</a> and <a href="http://www.apress.com/book/bookDisplay.html?bID=256" target="_blank" rel="nofollow">Pro JSP</a><br />Weblogs: <a href="http://raibledesigns.com" target="_blank" rel="nofollow">Raible Designs</a> <a href="http://jroller.com/page/raible" target="_blank" rel="nofollow">Spring Live Blog</a>
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Originally posted by Alvin chew:
hi,Matt Raible , i have little knowledge on struts , will it help me to understand easily on spring?


You don't need to understand Struts to learn Spring. In Chapter 2 of the book (which is available as a free download, you learn how to develop a Struts+Spring+Hibernate application. Then in Chapter 4, you re-write the application to use Spring MVC for the web layer. If you like, you can skip the Struts part of Chapter 2 and go directly to chapter 4 to learn about Spring MVC.
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
from chapter 9 - AOP, do you mind to brief how AOP help in spring ? thank you !
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi,mr.Matt Raible , how many percent of practical code sample in your book as compare to theoritical?
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Originally posted by Alvin chew:
from chapter 9 - AOP, do you mind to brief how AOP help in spring ? thank you !


One of the easiest ways to explain how AOP is used in Spring is with it's declarative transactions. You can specify (in XML) which methods will have transactions wrapped around them and also rollback rules based on exceptions thrown. Another example is you can use AOP to incercept calls to methods get data from a cache if nothing has changed in the database.
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Originally posted by Alvin chew:
hi,mr.Matt Raible , how many percent of practical code sample in your book as compare to theoritical?


The book is written very much like a tutorial. I'm a developer and I like books that "show" me how to do something rather than telling me how to do something. Almost every chapter has detailed instructions (and code) for showing off the different ways to do things with Spring.
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Originally posted by Matt Raible:


One of the easiest ways to explain how AOP is used in Spring is with it's declarative transactions. You can specify (in XML) which methods will have transactions wrapped around them and also rollback rules based on exceptions thrown.


Matt wouldn't this be more appropriate to categorize as annotation oriented and not aspect oriented?


blog - InfoQ.com
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Originally posted by Ali Pope:


Matt wouldn't this be more appropriate to categorize as annotation oriented and not aspect oriented?


Stupid me . Sure it is aop. (i have misinterpretted the means with the goal).

./pope
 
Don't get me started about those stupid light bulbs.
 
subject: Spring live book - reader question