Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Generate your iBATIS mapping files with sql2iBatis

From the iBATIS mailing list:

Hi everyone, 

I just wanted to remind everyone of Alex Egorov's sql2iBatis tool. 
I've recently had the chance to try it.  If you have a database that's
already created, this will save you a lot of time.  It will kickstart
your project.

Given DDL, it generates the SQL Mapping files and the JavaBeans.  It's
super simple and extremely fast.  You may want to tweak the Perl to
generate bean field naming conventions to your liking, or just
refactor it afterwards.   You might also want to run the source
through Jalopy or your favorite IDE formatter to achieve the
formatting you want.

However you cut it, this tool will save you tons of time (even if you
don't use everything it generates...deleting is faster than writing).

http://alxeg.narod.ru/ibatis/index.html

Cheers,
Clinton

Too bad it's a perl script. It would be nice to add something like this to AppFuse so you could get the same generate-mapping-files thing like Hibernate has with XDoclet.

Posted in Java at Feb 02 2005, 07:10:11 AM MST 5 Comments
Comments:

Too bad it's a perl script. [snip]

Okay, I'll bite.

This is exactly the kind of thing perl excels at. Dismising it just because it's not written in java is rather short sighted of you I think. There is a best tool for each job and that tool is not always java.

Of course I may have missed your point all together.

Posted by Ian Joyce on February 02, 2005 at 09:29 AM MST #

I don't mean to diss on perl at all. It would merely be more convenient if it was Java-based with an Ant task - then I could just include it with AppFuse. Since it's perl, I'd have to include instructions on how to download/setup perl. Granted, it's not that hard, but for some folks it is. ;0)

Posted by Matt Raible on February 02, 2005 at 09:35 AM MST #

[Trackback] Matt greeve about sql2iBatis script being Perl based and I wanted to remind him that there is an evolving generator tool we have for ages. Middlegen already has plugins that can generate code for different persistence layer types and it could be c...

Posted by Euxx on February 02, 2005 at 10:25 AM MST #

I believe not having perl is only an issue for Windows users. ;) Regardless, you're right, an Ant task would make sense given the project.

Posted by Ian Joyce on February 02, 2005 at 10:26 AM MST #

Or you could use the wonderful middlegen(http://boss.bekk.no/boss/middlegen/) tool to generate output in many formats. Written in Java, comes with ant task and doesn't require perl(not that there's anything wrong with that). Ben

Posted by Ben Litchfield on February 02, 2005 at 01:52 PM MST #

Post a Comment:
  • HTML Syntax: Allowed