- This topic has 7 replies, 3 voices, and was last updated 18 years, 2 months ago by peterdnight.
-
AuthorPosts
-
jeffhoranMemberI’ve noticed JDeveloper and WLStudio[?] can easily create a full web app from tables or possibly schemas. I started to use Hibernate in ME and that gets me half way there. Is there a way to generate my struts tags in a jsp, action and forms via hbm.cfg or other file? Do you know of another tool that does that? I’m not familiar any code generator apps (velocity?) that I could use.
Riyad KallaMemberJeff,
Yes you can do something like this in MyEclipse. It would look something like this:0) Setup a Web project with Struts capabilities
1) Reverse engineer your database with MyEclipse
2) Now open your struts-config.xml file, do a New Action, Form, JSP wizard. When asked for the form bean, specify “existing class” and point it at one of your reverse engineered classes, MyEclipse will pickuip the properties for you.
3) Finish the wizard, and you should have JSP with a default form that will populate that form bean and submit to that action.
jeffhoranMemberSweet!
peterdnightMemberYeah – well I am paying my $30 for this – so it better work 😉
How come RAD costs $2000?
Riyad KallaMemberHow come RAD costs $2000?
That’s a very good question.
peterdnightMemberWell – I am starting to see some answers ( I have been using WSAD/RAD for 5+ years )….
Does the login demo (on the doc link) represent the full capability set of the Struts integration? For example, a success forward was added, and a Success.jsp was added, but this was not reflected on the (flow?) diagram? Also – can I create new actions, etc. directly on the diagram. eg. Does the diagram support modules?
Thanks for the quick response!!
Riyad KallaMemberI’m not sure I follow, in Figure 6 all forwards pointing to and from pages are added as well as the pages they are associated with. Also yes you can create actions, forms, pages and so on using the diagram (Right click on it). As far as modules, the diagram represents 1 module, so creating cross-module links can be done by it’s not DnD. You can use the File > New > Other > Web-Struts > New Module wizard to create a new module.
peterdnightMembercool thanks!! i will give this a drive by;)
-
AuthorPosts