>
>
>
> I am just wondering how other frameworks handle this problem and why it
seems more difficult in Wicket? Would Wicket fit in well as a Web
presentation layer for an application using EJB3 (including JPA)?


i believe Vincent is working with ejb3 so maybe he can tell you about his
experience. i think it would be trivial to create an IFieldValueFactory that
can inject ejb3 beans instead of spring beans. the contribution would be
welcome.

the code can look identical to the spring injection

@EjbBean private UserService userService;

-Igor



I'm about 90% finished w/ a Wicket/EJB3 (JBoss) storefront solution
for my company to start doing consumer web sales.  In my personal
opinion, Wicket + EJB3 is the holy grail of Java web development...and
I'm not being dramatic.  It would be hard to convince me to use
another framework, going forward.

The app was incredibly easy to build once I got past the few
learning-curve hurdles w/ Wicket (with the help of the exceptional
Wicket devs, of course ;).  I'm now rapidly adding features, tweaking,
and doing all of this while training a new developer who just joined
the company and is not familiar w/ Java, Wicket, or even web apps
development in general.

My app only has one Stateful bean, the ShoppingCart, and I didn't use
injection in the Wicket layer since everything I'm doing passes
through a thin proxy layer...but it was trivial to make calls to the
EJB, nonetheless.  I keep the stub stored in a session class in Wicket
which I did by simply inheriting the WebSession class.

We looked at several other technologies and my first choice was JSF +
JBoss Seam.  It's nice...but doesn't hold a candle to Wicket IMHO.  I
also looked at Tapestry, Struts, WebWork, etc. - none of them had the
simplicity and elegance that Wicket offers...and so far the
performance exceeds my expectations.

-v


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to