users@glassfish.java.net

Seam without Hibernate?

From: <glassfish_at_javadesktop.org>
Date: Sun, 13 Jan 2008 11:44:22 PST

I have wasted a perfectly good morning trying to get the first application from the tutorial working on GlassFish. I don't want to use Hibernate--just TopLink.

I use Netbeans 6 with its built-in GlassFish to build and deploy.

Issue #1: I can't figure out how to convince Seam to use Toplink. I follow the configuration that is described in their docs, and it keeps complaining about a missing class org/hibernate/Session. There are dozens of blog articles that tell me how to run Seam with Hibernate, but stubborn me wants to stick with what's already in GlassFish. How do you do that?

Issue #2: I can't figure out how to run/debug from Netbeans. Apparently, there is a bug when running from an exploded directory. I get a message Invalid ejb jar [jboss-seam.jar]: it contains zero ejb. It works (modulo the previously mentioned problem) if I upload the EAR in the GF admin interface, but then how do I run the debugger in NetBeans???

This seems a sad state of affairs. Lots of people rave about Seam, but it seems that I would need to switch to the JBoss tools if I want to use it effectively. Or maybe I didn't try hard enough?

Thanks for any help,

Cay
[Message sent by forum member 'cayhorstmann' (cayhorstmann)]

http://forums.java.net/jive/thread.jspa?messageID=253620