[JBoss Seam] - Re: seam-gen: What is it good for?
by awhitford
I think you have raised a good question...
I personally don't use it beyond getting an initial baseline. I have found that even after the code generation, I need to hunt around and make several tweaks (disabling schema validation, changing the naming strategy -- some of this is related to Oracle). Also, if you augment the an Entity bean, and then run generate-entities again, you will lose your change. As a result, I don't feel it is meant to be used throughout the development cycle...
Of course, I think it should be easier to run it repeatedly. I have asked for a way to say, "generate-entities <table_name>", so that you could just add the one entity and CRUD.
I also think you should be able to supply your own Entity bean, and just let seam-gen create the CRUD. This would skip the reverse engineering -- there are several issues that I have with the reverse engineering (lack of enum support, constraints, etc.).
I am also a Maven fan, so I will take the ant oriented project and migrate it to a maven oriented project... I could see seam-gen evolve into a maven plugin. Imagine:c:\workspace\project\> mvn seam-gen:generate-crud <entity_class_name>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051864#4051864
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051864
18Â years, 10Â months
[Messaging, JMS & JBossMQ] - Re: create durable topic
by teodoro21
Thanks Adrian for your reply, I followed it but now I get this error:
ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@36c24c5d { url=file:/......../opt/jboss-4.0.5.GA/server/default/deploy/jms/conf/jbossmq-state.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/....../opt/jboss-4.0.5.GA/server/default/deploy/jms/conf/jbossmq-state.xml
altDD: null
lastDeployed: 1181151387033
lastModified: 1181151387000
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@36c24c5d { url=file:/......./opt/jboss-4.0.5.GA/server/default/deploy/jms/conf/jbossmq-state.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/........./opt/jboss-4.0.5.GA/server/default/deploy/jms/conf/jbossmq-state.xml
altDD: null
lastDeployed: 1181151387033
lastModified: 1181151387000
mbeans:
What means?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051859#4051859
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051859
18Â years, 10Â months