It is, but that can be both a blessing and a curse - you're sure to
have long-term compatibility with the spec. I miss the Criteria API
myself, I was mildly disappointed when I learned that EJB3 wouldn't
have it. However, there have been plenty of cases in my own projects
where the Criteria API was clumsy and unsuited for the task compared
to HQL. I could not say the same for HQL vs Criteria API in
reverse...I haven't found an instance where HQL/EJB-QL (in EJB3) was
awkward, leaving me with a need for Critiera-style queries.
point is, its nice to have the option. and there are plenty cases where criteria api is much more readable then hql, not to mention it is much easier to build search queries, etc instead of using a whole lot of nasty string concatenations. " where 1=1 " look familliar? :)
Wow! Why? I was using Tomcat before working on these EJB3 projects
and moving to JBoss 4.0.x...and I can't say I've seen a drawback. On
the contrary - it's nice to have all of the services available to me
when I want or need them (sound familiar ;) In addition to
persistence I'm using the Timer service, Transactions, JAX-WS, and
more....and if I want it I have simple clustering, messaging
(MDBs)...and all the other features I'm either not using or even aware
of. I think JBoss is slowly changing people's perceptions that a
container is a huge dump truck and everything else is a Ferrari.
because jetty+spring starts up in like 20 seconds (thats with spring creating all the beans on startup for me), jboss takes more then a minute just for itself. thats a lot of waiting for me every time hotswap cant cope. and last time i checked configuring jboss not to start some of the things i dont need is a nightmare, i tried in the past a few times and a few hours into it gave up. plus i dont need to deal with any of the stupid descriptor files, etc. web.xml and spring.xml is all i need and they are all simple. and no weird classloader issues, etc. its just a simpler development environment that saves you lots of time, and if you want to deploy on jboss for prod there is nothing stopping you.
Also, my boss likes to blow a lot of money on support contracts - I
figured we'd always have that opportunity here.
was that a pro or a con? :)
-Igor
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user