[
https://jira.jboss.org/jira/browse/JBIDE-2630?page=com.atlassian.jira.plu...
]
Francisco Jose Peredo Noguez commented on JBIDE-2630:
-----------------------------------------------------
Yes, I agree, if a project is created as "Minimal" since it will not ask for a
database connection, Hibernate stuff will not work (of course it would be nice if you
design an easy way to "make the Hibernate stuff work" later, after the project
was created without it. I ask for this because now creating a Seam project it is pretty
painful if one is just beginning a new project, and one just wants to start
fast-prototyping (with some help from the designer and client) some pages, or teaching new
developers how to build pages with Seam. At that stage, a database to connect to might not
be ready, but it should be possible to enable a connection to it later.
Yes, I know enabling Seam is possible for any project (including non faceted project) by
going to the project properteis and enable Seam from there, but AFAIK that will ask me for
a database connection (and will not copy the right .jar in to WEB-INF/lib for running Seam
in plain old Tomcat 6). So, it is a little inconvenient.
Create minimal Seam project (no DB), or/and add Seam facet with
minimal impact (no DB)
--------------------------------------------------------------------------------------
Key: JBIDE-2630
URL:
https://jira.jboss.org/jira/browse/JBIDE-2630
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Affects Versions: 2.1.2
Reporter: Francisco Jose Peredo Noguez
Fix For: 3.0.0.beta1
Currently, to create a Seam project, one needs to configure a database connection, but
Seam can be used in other contexts that maybe do not need a database connection, or that
may not need to use JPA (for example a Web applications that is acting as the client of a
WebService, or that needs to interact with a legacy database using plain JDBC or Ibatis,
or to create an small example project.
I find the need to specify the database connection cumbersome, specially if I just want
to create a small "test project" to try to solve an small non database related
problem in isolation (or to demonstrate Seam capabilities beyond its integration with
JPA).
I think it should be possible to create a Minimal Seam project using the wizard, one that
does not ask for a database connection, and does not need to use a database connection.
It should also be possible to add the Seam facet to a project with minimal impact to the
project (minimal web.xml alteration for support for JSF, or perhaps only do that if
JavaServer Faces facet is selected, copying of minimal required libs, and a components.xml
with literally everything disabled (specially anything database related)).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira