If you like RoR (and I do) you might like some of the "magic" that
Struts 2 and Spring can provide. It isn't quite perfect yet (at least
not the Struts 2 part), but I'm pretty happy with it. By "magic" I
mean convention based configuration, which cuts down on the number of
places you have to ent
Personally, I do *NOT* like to use Spring, because every time I touch it
everything breaks. I think that a better solution is to use a
ServiceLocator to provide the Hibernate SessionFactory. I did this in S1,
and it worked very easily, and didn't break anything. ServiceLocator is
described in t
I'd say getting everything set up is what hurts, after that, it is very
nice. I'm running Struts 2 with JPA and Toplink and I'm quite pleased.
musachy
On 5/11/07, Rick Schumeyer <[EMAIL PROTECTED]> wrote:
The funny thing is that I've spend the past few months working with
RoR. I like it, but
The funny thing is that I've spend the past few months working with
RoR. I like it, but I finally have some time to investigate the Java
world. I have this nagging concern about RoR performance.
One thing I hope to learn soon is, once over the pain of initial
configuration with Java based fr
That's what we're using as well.
Plus using EJB3/Annotations (over Hibernate3) for persistence.
Works well. No show stoppers thus far.
If don't expect your web app to be too complex, I'd recommend a hard
look at Ruby on Rails.
The whole S2, Spring, Hibernate thing is very powerful. However, it
What I meant was: use Spring IoC to glue Struts 2 and Hibernate together :)
musachy
On 5/11/07, Josh Vickery <[EMAIL PROTECTED]> wrote:
Spring has several components, but the one I use (and the one I think
is the most popular) is the Inversion of Control (IOC) framework.
Struts 2 (when it was
Spring has several components, but the one I use (and the one I think
is the most popular) is the Inversion of Control (IOC) framework.
Struts 2 (when it was Web Work) had some IOC support, but it wasn't as
full featured as what Spring offers.
Spring also has an MVC, which is a direct competitor
Let me ask you a question that I've never really received a good answer
to. Keep in mind that my knowledge of Java web programming is some S1,
and just starting with S2. I have never really looked at Spring.
I understand that S2 and Spring somehow work together. What I don't
understand is:
Have you tried using Spring?. It plays nicely with Struts and hibernate,
plus there are some examples around I think.
musachy
On 5/11/07, Rick Schumeyer <[EMAIL PROTECTED]> wrote:
Now I'm trying to configure Hibernate with S2, which many others have
done. I was trying to follow the example in
9 matches
Mail list logo