質問

I have created a J2EE project, Now I want to generate CRUD from MYSQL. Here is one option that looks fine by using JSF Generating a JavaServer Faces 2.x CRUD Application from a Database.

My question is "Would this work with the existing code and navigation stuff?"

OR

Is there any other technique to generate CRUD code from MYSQL database automatically?

役に立ちましたか?

解決

If you migrate to JSF, you'll have to replace all JSP pages with JSF pages; and all servlets with ManagedBeans. Navigation, and everything related to the view is handled by JSF too. If you already have many pages and servlets coded, and your only motivation of using JSF is to generate CRUD automatically, then I suggest that you create CRUD manually using the same technology you are currently using. On the other hand, using a framework makes things much easier for web development, so it's not a bad idea to use one. Other than JSF, you could use Spring MVC.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top