Matt RaibleMatt Raible is a writer with a passion for software. 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.

Hibernate Workarounds

Gavin King has started a new Wiki page for Hibernate users. Contribute if you've got some Hibernate knowledge. I hope to add value in the next month or two, or possible get value from this. Gavin hooked me up today with a 2nd set of eyes on a Hibernate -> Oracle issue I was having. User error - of course!

I have started a new Wiki page in the community area where we can (collaboratively) produce some documentation of common Hibernate design patterns. The page is called "workarounds" at the moment, but it can be more general than that. I've documented two patterns already and added one TODO (for people with knowledge of Maverick / servlet filters to fill out).

Posted in General at Dec 20 2002, 05:56:23 PM MST Add a Comment

Will Maven jive with XDoclet?

I'm starting to wonder if Maven will even work for my project. I've been able to setup a lot of dependencies lately and the Maven team has been doing an awesome job of getting my requested jars into their repository. Thanks dIon! The real reason I want to use Maven is to produce a project website. As far as building and running tests, I'd actually prefer to use my Ant script - who I got courtesy of Erik Hatcher.

The problem I'm seeing is that Maven must compile my source to generate the website, and it also seems to be part of the maven java:jar task. And because several of my classes don't exist yet, the compilation fails. Is there any way to tell maven that it must run an Ant task (i.e. ejbdoclet) before it runs its compilation? I'd love to simply tell it to hook into my "package-web" task, rather than trying to compile classes that haven't been generated.

Better yet, is it possible to use Maven simply for downloading jars and generating the website? At this point, it almost seems easier to checkin my 15MB worth of JARs into CVS and use a README file. Maven might be overkill...

Later: Hmmm, maybe XDoclet and Maven can work together. I just found a "maven plugin" in the XDoclet CVS tree. It's description is A Maven plugin to run XDoclet from within Maven. This is very interesting... -- now I need to figure out how to use the damn thing ;-)

Posted in Java at Dec 20 2002, 05:07:17 PM MST 1 Comment

Hibernate Reverse Engineering Tool

Thanks for all the tips for setting my proxy/port for Java apps. Now I just have to try to figure out what the proxy server/port is. I tried to get it yesterday, but everyone only seemed to know the automatic configuration URL. I'm hoping that's a text file with some information in it that I can use.

Jon Lipsky also hooked me up (via e-mail) with the Reverse Engineering Tool for Hibernate. If I get a chance to use it today - I'll report on it's ease of use, etc. I wonder if I can generate my classes, mark them up with XDoclet and then produce my Struts ActionForms. Or possibly, I can generate the classes with Hibernate and create my ValidatorForms by hand. It'd be cool if the Reverse Engineering Tool supported generating an XDoclet-ready class, and also allowed for regeneration. I probably shouldn't be hoping for too much - it might just work as is.

Posted in Java at Dec 20 2002, 12:23:52 AM MST 3 Comments

Bailey's at 9:00 a.m.

I was up until 3:00 a.m. last night as a friend was passing through town and stopped by to say hi. He (and his dad) didn't get to our place until 12:30, so I didn't get to visit long, but it was worth the lack of sleep. I got up at 7:00 and went to work feeling like a zombie - only to find out that there was a Bailey's party at 9:00! That's right - one of the ladies made some home-made Baileys and brought it in for everyone to enjoy. I have to say, it's the first time I've had spiked coffee at work!

We just got home from dinner at a friend's house and I am beat. I do have a couple questions and news items though.

  • Is it possible to configure Java to use a proxy server to connect to the Internet. The only way to connect to the Internet at work is to setup your browser to use an Automatic Configuration URL. This means that Struts can't validate to it's DTDs (unless I change to use a System DTD) and I can't use Maven to download jars.
  • Can Hibernate generate classes and it's mapping files from an existing database?
  • Konstantin Priblouda has published a demo of using Hibernate, XDoclet and JBoss. You will need a current version of XDoclet from CVS to run it.

Posted in General at Dec 19 2002, 05:07:51 PM MST 2 Comments

Wikis at Work

I sold the team on the idea of using a Wiki for a good project collaboration tool. I wanted to use SnipSnap because it looks good, but I noticed on it's Feature Matrix that there is no file upload. Shucks - that might be a show stopper. I'll probably end up using Very Quick Wiki.

Posted in Java at Dec 18 2002, 03:25:20 PM MST 5 Comments

Snowing like the dickens

It was a 9-inch day at Vail today, and it's snowing all night tonight. Damnit - I've gotten two calls from friends already that are going up tomorrow. Those bastards!

Posted in General at Dec 18 2002, 03:07:12 PM MST 1 Comment

The First Day

The first day at the new job was good. The three developers on the team (myself included) had a 3 hour meeting getting our arms around the project and figuring out how to do everything. It's an interesting approach we're using - where an Excel speadsheet is e-mailed to a mailbox. It's then picked up, processed, and if it meets certain criteria, it's entered into an Oracle database. Then we're going to use a web front-end and Struts to grab the data and render it to the user so they can correct it. I wonder if I can use the Struts Validator on the way out? It'll be interesting to find out.

The only unfortunate part of the day was the machine I found myself in front of. It's a Dell GX110, and has 128MB RAM and a 733MHz processor. Ughhh, try running Ant, Eclipse and Tomcat at the same time on that sucker! I faired better than the other developer though - he got an NT 4 box - at least mine's 2000! They said they'd try to get us better machines, but I hope to just use the ol' Powerbook. The dual 21" monitors is helping to reduce the pain.

Posted in General at Dec 18 2002, 02:59:57 PM MST Add a Comment

POI Article

This article from Javaworld shows how easy it is to use POI. Cool - I'm sold!

Posted in Java at Dec 18 2002, 02:05:16 AM MST 1 Comment

Erik Hatcher's Blog

I saw it a couple weeks ago, but now Erik appears to be updating it regularly. Just in case you didn't know - you can find it here. Erik is an Ant Guru and has written many cool Struts extensions (i.e. LookupDispatchAction, XDoclet integration). He's made my life a lot easier with his Ant wisdom and Struts goodies - thanks Erik.

Posted in Java at Dec 18 2002, 01:17:30 AM MST 1 Comment

Ant Sucks? Puleeze!

Markus Kohler seems to think that Ant sucks. Personally, I love Ant, so I guess you could say I'm biased ;) I'm posting this in hopes that Erik Hatcher will see it and offer a rebuttal. I don't know that there is one, but I figured it's worth a try.

Posted in Java at Dec 17 2002, 11:11:59 PM MST 4 Comments