Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: POJO Jenerator

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default POJO Jenerator

    I want to introduce POJO Jenerator, a code generator I've built over 10 years of Java web development. I have been using it exclusively for my own development, and it has saved me immeasurable amounts of time and frustration.

    I've also found it to be a very useful teaching tool for bringing new developers up to speed in how to architect and construct a Java web-app.

    In brief, you specify the name and attributes of an object, and POJO Jenerator will create for you:

    - A DDL statement to create your database table
    - A JavaBean class to represent rows in the table
    - A full-CRUD, native JDBC persistence layer (DAO pattern class) with support for transactions
    - A full-CRUD, working web-based AJAX GUI prototype
    - I've recently added support for enumerations as well

    Check it out here: What is POJO Jenerator?

    (It's totally free.)

    I'd be interested in feedback from those who actually try it out and play with the generated code.

    I'm also interested in extending the tool to generate code for GWT, and possibly other platforms.

    Please contact me: john@timechannels.com if interested.

    Cheers,

    John
    Last edited by JohnBoy; December 7th, 2010 at 02:49 PM.

  2. The Following User Says Thank You to JohnBoy For This Useful Post:

    javapenguin (December 7th, 2010)


  3. #2
    Banned
    Join Date
    May 2010
    Location
    North Central Illinois
    Posts
    1,631
    My Mood
    Sleepy
    Thanks
    390
    Thanked 112 Times in 110 Posts

    Default Re: POJO Jenerator

    Hey, I don't think this forum is for advertising java products. I could be wrong.

  4. #3
    Junior Member
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: POJO Jenerator

    How does something like this qualify as a product? POJO Jenerator is no more a product than is Hibernate, Struts, Spring, or Tomcat, and I see that those are discussed here rather routinely.

    POJO Jenerator is completely free - I'm just sharing a great tool that I have come to rely on, and that has saved me countless hours of programming time. I am also trying to foster interest in extending it to provide generated code for platforms that are beyond Servlets and JSPs, and it is here that I seek knowledge, because I know very little outside of these areas. I am hopeful that I can find some talented people here who would be interested in furthering this concept. The rewards would be reaped by the entire community saving lots of time developing software. Trust me!

    Cheers,

    John

  5. The Following User Says Thank You to JohnBoy For This Useful Post:

    javapenguin (December 7th, 2010)

  6. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: POJO Jenerator

    Interesting project, must've been a bear to put together. Don't have a chance to try it out at the moment but will try when I get a chance. Any plans for postgreSQL support, or communication(s) with Eclipse?

  7. #5
    Junior Member
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: POJO Jenerator

    At this time, only MySQL is supported, although the generated DDL is the only thing affected by that (and it is easily altered for other DBs).

    However, I am currently working with some friends to extend it for Oracle, and I would like to extend it for postgreSQL as well. Anybody want to help me with that? Sqllite may also end up on that list, but that has special challenges.

    I'm not sure what you mean about Eclipse communications, but I'd sure be interested in discussing it.

    As hard as this thing was to put together, I can tell you that it's been worth its weight in gold! I am able to produce new apps, and new features for apps, in a tiny fraction of the time it used to take me.

    John

  8. #6
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: POJO Jenerator

    Quote Originally Posted by JohnBoy View Post
    I'm not sure what you mean about Eclipse communications, but I'd sure be interested in discussing it.
    Typically, I would work through eclipse to generate any POJO's or Enterprise Beans (actually for many projects somewhat gave up on entity beans for a variety of reasons). Again I only know the application through its description as I've yet to try it, but what I meant was it would be nice to go into eclipse, select a menu and tell it 'I want X,Y,Z' and the POJO creator you made does the hard work (creating the beans, setting up the tables, etc...).

  9. #7
    Junior Member
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: POJO Jenerator

    "(actually for many projects somewhat gave up on entity beans for a variety of reasons)."

    A very wise decision, in my opinion.

    I have very little experience with Eclipse, but I'd be willing to work with you (or anyone willing to collaborate) on some plug-ins that might integrate with POJO Jenerator.

    POJO Jenerator is itself a web-based app., so we'd need to identify a way of perhaps invoking a service-based api to facilitate this. I don't know.

    In the meantime, I'm more interested in getting feedback on the patterns, techniques, and architecture of the existing generated code. Please sign up (Register button is in the upper-right - totally free, and I won't spam you...) and start entering objects and see what it produces and how it works. It would be nice to foster a discussion on the various aspects, and how we might make the tool better or even just more versatile, by producing additional generated code for GWT, Hibernate, EJB 3.0, etc.

    Do me a favor (everyone): go to this URL: http://www.timechannels.com/EmployeeDisplayRecords

    This is an example of what POJO Jenerator produces. Go ahead, enter some new records, edit them, delete them, etc. Play with it a little. Then ask yourself this question: how long would it take you to build that functionality, for that table, using your current tools, technologies, techniques?

    If the answer is anything more than 10 minutes, you really owe it to yourself to check out POJO Jenerator.

    Cheers,

    John

Tags for this Thread