- This topic has 4 replies, 3 voices, and was last updated 14 years, 1 month ago by
jkennedy.
-
AuthorPosts
-
EddieBMemberI have been searching the forums and cannot find my answer, so hopefully someone will point me in the right direction. Can MyElcipse create javabeans for use with a Flex Front end? i want to open the database explorer, click a package.stored Procedure and have the java class and Flex class generated based off that stored procedure? can some one point me to a tutorial or explain if this is possible? thanks in advance
davemeurerMemberHello,
MyEclipse for Spring can generate an entire spring-flex application, including the java beans. However, the generation inputs are only database tables, jpa entities, or java beans.
To get started:
1. Create a Web Project
2. Right-click the Web Project, MyEclipse > Scaffold Spring CRUD ApplicationMore information on the flex generation can be found at the following resources:
– TUTORIAL: http://www.myeclipseide.com/documentation/quickstarts/ME4STutorialScaffoldingFlex/m4sescaffoldingflexarticle.html
– VIDEOS: youtube.com/myeclipseforspring – search for “flex”HTH,
Dave
EddieBMemberyeah thats what i thought, i didnt want to build an app soley on table selection, we prefer to use store procedures and views. i think i purchased this product in error thinking it supported Packages and stored procedures
EddieBMemberjust to furthr this along, our archetects structure pojects based on stoed procedures and views and we never use embedded SQL statements in code.
jkennedyMemberWe do not have direct support for Stored Procedures and Views but we do support Java Beans (Java with getters and setters) as an input model to the scaffolding process. I am not an Oracle expert but if they have any tooling options to help you generate the POJO model from your Stored Procedures you can feed that into the MyEclipse for Spring Tooling and generate the Front End, Service and DAO layers etc, and then implement your DAO layer to invoke your procedures.
You could also extend the code generation templates to automate the generation of handlers for your stored procedures etc if you need to do this repetitively or on a larger scale.
Thanks,
Jack -
AuthorPosts