*
The moose likes Struts and the fly likes Spring live book - tools question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Spring live book - tools question " Watch "Spring live book - tools question " New topic
Author

Spring live book - tools question

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, mr.Matt Raible , is there any tools or ide which currently support spring ? for example like struts console from james holme which use for ease struts configuration ..thank you !
[ October 27, 2004: Message edited by: Alvin chew ]
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
is there any tools or ide which currently support spring ? for example like struts console from james holme which use for ease struts configuration ..thank you !


Yes. James has been nice enough to produce a Spring Console. Also, the Spring IDE is a nice plugin for Eclipse.

I posted a tutorial for installing the Spring IDE a few months ago.

I've never used the Spring console. Then again, I never used the Struts console and I've done Struts development since 2001. As an FYI, XDoclet also supports Spring.


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>
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
And What is Web/Application Server refer in this book?


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
I feel that a very nice tool to have with spring would be something to draw a graph of dependencies. Something that would look like this. When your confs become real large such a tool will help a lot. (this is also on my todo list, but I am not sure when I'll get to it).

./pope


blog - InfoQ.com
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Originally posted by somkiat puisungnoen:
And What is Web/Application Server refer in this book?


The book uses Tomcat 5.0.x and Servlet 2.4. The sample app starts off using an HSQL database and switches to MySQL in Chapter 7. I'll likely switch to PostgreSQL in Chapter 10. I've heard of success stories deploying it on Resin 3.x.

There was also one guy who stripped out all the Servlet 2.4 stuff, backported it to Servlet 2.3 and deployed it on WebSphere. I've also seen instructions for using it with an Oracle database.

What app server would you like to see instructions for?
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
What app server would you like to see instructions for?



1. JBoss Application Server
2. WebLogic Application Server
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Originally posted by somkiat puisungnoen:

1. JBoss Application Server
2. WebLogic Application Server


The sample app is very simple and self-contained, so you should be able to easily deploy it on an J2EE app server. I just tried it on JBoss 3.2.5 (ant war, copy to server/default/deploy) and everything worked fine. I imagine you'd get the same results from WebLogic. Of course, if it's "express" download wasn't 312 MB, I could've installed it and tested it by now.
Jeff Duska
Greenhorn

Joined: May 14, 2003
Posts: 8
The Spring IDE plugin for Eclipse does this.
Here how to create a graph. You'll need GEF installed for this to work.

  • Select the Spring Beans view
  • Right Click on your Spring Context file.
  • You should see Show Graph.
  • Spring IDE and Eclipse will create GEF graph view for you.

  • You can use this view to jump around your conf file. I have time tonight I post an example on my blog.

    HTH,

    Jeff Duska[/QB]
    HTH,

    Jeff Duska

    [ October 27, 2004: Message edited by: Jeff Duska ]
    [ October 27, 2004: Message edited by: Jeff Duska ]

    Checkout my Java Blog at <a href="http://java.duska.com" target="_blank" rel="nofollow">http://java.duska.com </a>
    Alexandru Popescu
    Ranch Hand

    Joined: Jul 12, 2004
    Posts: 995
    Jeff the solution (nice indeed) I was thinking of is way lighter than the one you propose.

    ./pope
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Spring live book - tools question