Andrew Robinson schrieb:
> BTW - although Seam is made to work with EJB3 or just Hibernate, there
> is no need for either. You can use POJOs for entities and application
> beans and just use straight JDBC in your action methods to save the
> data. Seam uses annotations, but they are not the same annotations as
> EJB3 (it just happens that all of their examples use EJB3 and/or
> hibernate annotations). I am running with no EJB3 at all with seam
> without issue. My action beans are POJOs and my data store beans are
> POJOs with hbm.xml mapping files. I just use seam annotations of
> @Factory, @Name, @In, @Out, @Valid, etc.
> 
> Just wanted to make sure this was clear in case someone wanted to use
> seam but didn't want EJB3 and/or hibernate.
> 
The other thing is as it was pointed out, that you do not need an ejb3
app server for it, there is an embedded version. Although startup times
are somewhat painful (I too get a 20 seconds startup time, compared to
10 secs in a plain jsf version, but given the fact that spring+hibernate
gives me in this combination similar startup times, it is bearable)

Reply via email to