- This topic has 9 replies, 2 voices, and was last updated 14 years ago by
Mork.
-
AuthorPosts
-
Is there a tutorial on creating new forms in MyEclipse for Spring?
As I understand it so far, once you’ve scaffolded the application, you’re back to managing adding form controllers and related items on your own, right?
The majority of the application work will be adding custom forms and business logic which are not (usually) reverse-engineerable from the database.
I’m hopeful that MYE for Spring also will have wizards for adding new forms, which, in turn, would automatically add a form controller, update servlet.xml files, etc.
Can you please elaborate (or point me to a web-cast/tutorial) that shows how MyE for Spring will help me over another product like Intellij once I have the application scaffolded?
Thanks.
– m
jkennedyMemberThe scaffolding option currently supports the creation of the DAO, Service, Controller, and UI Layers from RDBMS, JPA, or Pojos. You could certainly consider coding plain java beans that represent your “form” backing bean, and then scaffold from those beans to generate the UI’s and Controllers as well as the optional DAO and Service layers for those beans. While we assume that you want to persist the objects you are scaffolding from, you could certainly remove the JPA annotations and just use them as web layer beans etc.
If you have feedback on additional capabilities you would like to see in this area, please let us know.
Regarding other capabilities on the far side of the scaffolding options, there are many great capabilities in the MyEclipse product line, some of them focused on Spring specific development, others being more general.
For a listing of Video Tutorials for ME4S you can start Here: http://www.youtube.com/view_play_list?p=D7D50E04716FC533
For a full list of MyEclipse Features by Product you can review this page: http://www.myeclipseide.com/module-htmlpages-display-pid-1.htmlHere is a page that describes the MyEclipse for Spring Code Assistants which are designed to make your ongoing configuration of projects easier.
http://www.myeclipseide.com/me4s/features/code-assistants.phpI will add your comments to our Jira system where we are tracking feedback on what we refer to as “micro-scaffolds” which we view as being small specific tasks for generating and updating applications for ongoing maintenance in a way that is similar to what you described.
Looking forward to any additional feedback you might have.
Thanks,
JackThanks for your reply, Jack.
I guess my real question is whether MyEclipse for Spring offers that much over another IDE like Intellij beyond the reverse engineering and Spring wiring of db tables.
I know the scaffolding reverse engineering of DB tables “demos well”, but that would be a tiny part of any application’s real development.
Setting up a basic Spring MVC project initially is really not that difficult.
So, my question remains how I would add new forms to the project and how MyE for Spring would integrate them with ViewResolvers, backing beans, update all the XML files and such for me– I’m not clear on how MyEclipse would be more productive for most parts of Spring app development.
I’m currently a MyE Pro user, but have switched mostly to Intellij due to their pricing models, excellent tech support, and better Mac support.
In any case, I would still consider MyE for Spring if it knocks the ball out of the park.
The only real training I’ve found on how to use the scaffolding (beyond the most basic demos on your site) is paid.
Thanks in advance for any updates.
– M
jkennedyMemberM,
Thanks for the follow on.
I’m not sure if it came through clearly in the post above so let me clarify the approach that I am recommending.
To add new forms that are backed by Java objects that did not originate from the Database:
1. Write your Java backing bean (POJO) the way you normally would
2. Run scaffolding against those POJOs
3. Choose some combination of Web Layer, Service Layer, DAO Layer depending on your needsME4S will generate the UI’s (Forms) for your beans, the MVC controllers, Webflow, Flex, and/or GWT UI’s depending on what you select.
We will also update the web.xml and all of the spring context files for you.You can then modify the generated code as you see fit.
Hope this helps,
Jack@jkennedy wrote:
M,
Thanks for the follow on.
I’m not sure if it came through clearly in the post above so let me clarify the approach that I am recommending.
To add new forms that are backed by Java objects that did not originate from the Database:
1. Write your Java backing bean (POJO) the way you normally would
2. Run scaffolding against those POJOs
3. Choose some combination of Web Layer, Service Layer, DAO Layer depending on your needsME4S will generate the UI’s (Forms) for your beans, the MVC controllers, Webflow, Flex, and/or GWT UI’s depending on what you select.
We will also update the web.xml and all of the spring context files for you.You can then modify the generated code as you see fit.
Hope this helps,
JackThat sounds really nice.
Will MyE for Spring stay at $99/yr. or will it be going (back) to $199/yr.
The $199/yr. is a deal breaker for my company. $99 is also a bit high, but probably doable.
Thanks again for your next reply.
— M
One more question…how difficult is it to use MyE for Spring for an individual developer when the development environment isn’t set up for MyE for Spring?
I have often been in the situation where I’m sold on MyEclipse, but the project is not set up that way (but uses SVN at least).
Your insights here would be appreciated.
Thanks Jack.
jkennedyMemberWe do not have any immediate plans to raise or lower the price and we are actively working to continue to add value to ME4S.
I’m not totally sure I understand your question regarding the use of ME4S when the development environment isn’t setup for ME4S but it sounds like you are asking about whether or not a single developer on a team can use ME4S when the other developers who are working on the project are not using the ME4S tooling.
Generally speaking, there is no issue with this type of configuration when it comes to the scaffolding functionality, the code assistants, etc.
You would need to be sure to use either Maven style projects or select the option in the scaffolding wizard to push the jar files into your lib directory instead of using the built in Classpath containers since others on the team will not have these containers in their environment.
The goal of the tooling (scaffolding) is to make the project and code that is generated as indistinguishable from a project that was built by hand as possible.
Thanks,
JackYes, that answers my question. Thanks.
Perhaps a tutorial would be appropriate on setting up MyEcipse in a SVN environment.
The fact that you can’t count on multiple developers all using MyEclpse (at least I’ve never seen it), usually means that nobody uses it and the project IDE defaults to the lowest common denominator.
Thanks for your replies.
It seems that you’re new at Genuitec, right? I’m glad to see that there’s some new folks there!
Best,
– M
jkennedyMemberM,
Thanks for the dialog, and the feedback, I will ask our Product Manager to consider the tutorial or perhaps a sticky thread on the subject since it is an important point for developers to understand regarding their options when working with teams who might use multiple IDE’s.The MyEclipse for Spring product is a joint venture between Genuitec and Skyway Software and I am a Skyway Employee but our two companies work very closely together, and it is nice to be integrated with the MyEclipse Community, thanks.
Jack
I see now why you’re so up to speed on the product! 🙂
I’m a bit concerned about modifying (wading through) all the generated code (for example, I’ve never really used SiteMesh), but perhaps it’s not such a big deal in an actual project?
Do you have documentation on all the code that gets created? I would like to pass this along to our lead developer to help sell him on using MyE for Spring.
——-
Going forward, perhaps you all could create a tutorial on how to modify the (generated) JSP to do something different than the default generated look and feel and other custom changes would be good.
Thanks again for your reply.
M
-
AuthorPosts