facebook

how to quickly create a web form that inserts info into db

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #242383 Reply

    Antek_Ryu
    Member

    Hi All

    Basically what Im trying to ask is that I have been developing jsp pages with some javabeans to insert information into databases and then to retreive this information. I have been doing this by hand. I have now got myeclipse and what I want to know is that can I speed this process up. i.e. easily create new forms visually (dont want to code) and connect them quickly to a microsoft sql server. Are there wizards to do the connection or something along these lines. I like the way microsoft info path makes forms (but i think has other restrictions like you can only deploy on windows and clients need infopath), also i think microsoft visual studio has some very good wizards to connect aspx pages to databases, but i cant move from my j2ee technology.

    Regards
    Antek

    #242409 Reply

    dkittle
    Member

    This is one of the key things missing in J2EE development and one of the things that makes Ruby on Rails so appealing (even to Java people!).

    It’d be really nice to have a templating system & bases classes that could knock off basic CRUD (database centric) pages and supporting code for the frameworks that MyEclipse supports (Struts, Tapestry, JSF, etc). One page would include a table view (navigating the list of objects) using displaytag (or dataTable in the case of JSF) and would allow you to edit/delete database objects. There would be a second page that would be for adding/editing an individual database object. The pages could connect directly to resultsets (optionally) or could connect to either manager beans or DAOs. DAOs could be tied directly to Hibernate or could be facades for hibernate, entity bean or spring/hibernate implementations. Managers could be POJOs (spring configured optionally) or business delegates fronting session beans. As a bonus, supporting database objects which have relationships would be REALLY cool!

    This all seems like a lot of work. If even the most basic case was done with hooks to support updating Spring/JSF/[name your framework] configuration files where done, perhaps the communiity could then contribute templates for JSP/facelet XHTML/tapestry pages along with templates for new manager/DAO implementations…

    #242417 Reply

    Riyad Kalla
    Member

    Antek,
    Something on par with dragging and dropping a connection onto a table
    in a JSP page is not available yet, but working with Hibernate in
    MyEclipse will get you 80% of the way there and then using our visual
    page designer should get you another 15% of the way there so you only
    need to code some basic logic.

    The items are covered here, Hibernate:
    http://www.myeclipseide.com/images/tutorials/quickstarts/hibernate/

    and here, Designer:
    http://www.myeclipseide.com/images/tutorials/quickstarts/webdesigner/

    Also dkittle,
    I’d like to add that this type of development is exactly what we have been targetting since day one. To some users it seems that RAD isn’t there until you are dragging and dropping everything, but we are getting there slowly first withour wizards and designers and now with our visual page designers. The entire bottom to top development stack is not far away and we are steaming towards it.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: how to quickly create a web form that inserts info into db

You must be logged in to post in the forum log in