This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring live book - tools question

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And What is Web/Application Server refer in this book?
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Matt Raible
author
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What app server would you like to see instructions for?



1. JBoss Application Server
2. WebLogic Application Server
 
Matt Raible
author
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
     
    Alexandru Popescu
    Ranch Hand
    Posts: 995
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Jeff the solution (nice indeed) I was thinking of is way lighter than the one you propose.

    ./pope
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic