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.

How I fixed Ant running in Eclipse

I was able to fix my Ant problem this week. In the latest release of Eclipse (2.1 - M4), it allows you to specify an ANT_HOME, rather than the internal one. So I did that and it still didn't work. I ended up having to add tools.jar as a external jar and now everything works [screenshot]. Cool!

Posted in General at Dec 24 2002, 04:58:02 AM MST 1 Comment

iTerm, StrutsForm Generation and the Work Life

I found iTerm via a quick scan of posts on java.blogs. Very cool - I'll have to download it tonight.

I'm still working like a banshee as you might be able to tell from my lack of posting. I was up until 4 in the morning on Sunday trying to complete my struts-resume app for my Wrox Chapter (still not done). I've backed off from my attempts at generating Struts Forms and Hibernate classes from the same POJO. It just doesn't seem likes it's worth the effort. I'd still like to generate the initial stubs for these classes form a database, but I've come to realize that it's not practical to have these classes generated each time. It's just too much of a nightmare to mix and match what goes to Struts and what goes to a Hibernate class. I am going to give it one last college try though. I hope to use a POJO with XDoclet tags, and then modify the XDoclet code for StrutsForms so they can be produced from a POJO. Of course, if I were smart, I'd just finish the damn application the hard way and be done by tonight. Wrox would be much happier I'm sure. I'll try for 2 hours and if I can't get it, I'm done. I think that I'll end up generating the initial struts form and then stuffing it into the source tree for later manipulation. I've found that it's nice to add getter/setters to the form (that never make it to the backend), so this is probably the best way.

Things at the office are going well. I spent most of the day installing Tomcat, MySQL, VeryQuickWiki and Scarab on a Sun box. It was fun doing the ol' command line thing all day and OS X makes it a real pleasure to interact with Unix systems. Transmit2 makes it super easy to transfer files and even allows you to edit with BBEdit. It's worth the purchase for sure at $25.

I've decided (once again) that OS X is not the development environment for me. Eclipse is too flaky (I'm running 2.1 M4) and takes forever to do anything. Ant runs slow as hell, and Tomcat does too. I'm also addicted to Windows Exploder and OS X's Finder does nothing for me. So I told my boss that they were losing money if I didn't get a faster box, and Windows would probably be best. They said it didn't look good, so I volunteered to bring in my own machine (Dell 8100 P1.5, 768 MB RAM) if they could get me a new hard drive. By getting a hard drive, I don't have to blow out my Red Hat 8.0 installation and I can transfer the hard drive to the new machine when they finally get me one. So they found a 20 Gig hard drive and I'm building the machine as I hammer out struts-resume.

Posted in General at Dec 23 2002, 03:12:13 PM MST 1 Comment

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

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

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

Watching TV and Blogging

I have the opposite problem that Jeff has. He says he can't watch TV and blog as he never gets any blogging done. I can't watch TV and blog as I never get any TV watching done. Then again, I have Tivo so I can always rewind. But it is a pain the butt when I settle down to watch some football and I miss the whole game!

But I grew up without TV, so I actually don't like the stuff and I'm one of those parents who fear for their kids TV-watching habits. Julie, on the other hand, is a TV addict and loves the stuff. Should be an interesting compromise to raise Abbie (+1 in a year or two) with our opposite views on the boob tube.

Posted in General at Dec 17 2002, 01:02:17 AM MST Add a Comment

JK 1.2.2 Released

Since I 've modified a couple of articles to detail installing Apache and Tomcat, and I seem to get a lot of hits on this site from it - I'd better tell you about the latest release of the Apache/Tomcat connector. From my Inbox this morning:

JK 1.2.2 maintenance release is available. Changes with JK 1.2.2:

  • tomcat_trend.pl updated script to support changed logging of aborted requests
  • jk set correctly the content-type in Apache 2.0, making it ready to works with mod_deflate and AddOutputFilterByType
  • jk will check result of get_endpoint and handle a failure. This call can fail if the allocation for the endpoint fails because of low memory conditions causing a dereference of NULL when we try and access the endpoint

Sources, Linux (flat/rpms) and iSeries binaries are already available, Windows, Solaris, MacOS X binaries will be released soon.

iSeries Note: Previous JK binaries for iSeries (AS/400) were built without TERASPACE support nor multi-threading support code and should be considered incorrect. Production sites should upgrade to this version.

Binaries Providers: We're looking for binaries contributors for AIX and FreeBSD (Apache 1.3 (w/wo SSL) and Apache 2.0.42 or higher).

Posted in General at Dec 17 2002, 12:32:51 AM MST Add a Comment

Code Readability

There's a debate taking place at FreeRoller about code readability. Isn't this a non-issue with sweet code formatting tools such as jalopy? I don't think I've cared how my code as looked in months, I just use the formatter. For the record, I prefer one space, not all my variables lined up on one side. Why? If you add a new variable with a long name, you have to adjust the spacing for all your variables - what a pain in the ass. However, Jalopy does offer this type of formatting and will plugin to all your favorite IDEs.

Along these same lines, XDoclet uses a beautify ant task that fixes the code everytime you re-compile. While it's nice, it can be annoying that you have to reload your .java file everytime you compile.

Posted in General at Dec 12 2002, 01:07:25 AM MST 1 Comment

Tomcat 4.1.17 Alpha

Apache Tomcat 4.1.17 Alpha has just been released. Significant changes over 4.1.16 Beta include fixing socket binding in Coyote JK 2 (where only the loopback interface would be bound), administration webapp fixes for resource link handling, minor performance tweaks in the TCP endpoint, as well as other minor fixes. View the release notes or download.

Posted in General at Dec 12 2002, 12:23:20 AM MST Add a Comment