Spring Framework
We're using something at work called the spring framework (http://www.springframework.org)
Its a Web MVC framework (kind of like Struts), but its a lot more than that. Its got layers for dealing with transactions and database connectivity if you want to use them. pretty cool if you ask me.
we're moving from xmlc and barracuda on top of struts (just the action classes) to this Spring Framework and I have to say I'm seeing some benefits to using this over struts.
BTW, even though we're moving away from it, Barracuda/xmlc is pretty sweet too, in its own way. You can let HTML writers code the whole site with test data in it, and then the HTML gets compiled into Java classes. Then these are manipulated and values changed, etc. (Its a bit more complicated than that)
AI Summary
3 Comments
bahhhh java...wheres all my c++ homies that pick out the '+' and 'C' chars in alphabet soup, create an object of class bathtub and bath in it
Interesting. I will check it out. I've heard a little about it on the IntelliJ forums. (btw, the new IntelliJ is great. Hotswap is so much fun, especially in conjunction with Pop Frame)
How does the database connectivity work?
here's a very quick intro for someone familiar with struts:
http://test.javaranch.com/wiki/view?SpringFramework
We use EJBs at the moment, but we talk to them through Delegates and Commands. I'm still getting the hang of it.
you could use spring to talk to a database via JDBC, Hibernate or EJB. Spring has support classes for all of those, exception handling and all.
by