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.

Roller Development Sidelined

Unfortunately, I won't be working on Roller tonight like I'd hoped. It's 9:30 right now and I'm just finishing up my first release at the new job. I'd rather not pull an all-nighter after working a 50-hour week in 4 days. Ugh - I'm burnt. Good to be done though - and the customers here (internal) are really excited about using a webapp to do their jobs.

Sorry Roller, you're going to have to wait a while for my features. I'm planning on taking my PowerBook, but I won't promise anything. The last time I took it on a trip and tried to get some work done - it was brutal. I was up until 6:00 a.m. trying to finish my first release for the last project I was on. I gave up and slept for an hour - hoping to finish it up on the plane. Needless to say, I suck developing on a Mac and it took me all the way until Monday morning to release. The client was furious and the project almost ended right then and there. I tried to quit, but they wouldn't let me.

It's kinda funny that it's been almost a year since then, and I'm in the same situation again. Luckily, I finished before my plane took off this time! I wish I could work on ya Roller, but I need a vacation... Phew - off to Florida!

Posted in Roller at Jan 23 2003, 09:41:21 PM MST 1 Comment

Add a favicon.ico to your site

Photo of West Palm Beach Want to add a favicon to your site? It's easy using the Graphic Converter. Just use this to change any existing electronic image into an .ico file. Use your favorite icon editor to apply further enhancements to the image, then upload it to your site. Once it's there, you can either put it in the / directory of your site, or refer to it in the <head> of your HTML. I do both.

<link rel="icon" href="/favicon.ico" />

Posted in The Web at Jan 23 2003, 05:32:37 AM MST 2 Comments

RE: Display Tag Library - donate it!

Shortly after posting my donate plea yesterday, I sent a similar message to the struts-user group and cc'd Ed Hill. Lo and behold, I got the following reply from Ed:

I would gladly support any efforts to continue (restart) development on my taglib. I've reserved some sourceforge space myself, but have not moved things over yet. Alas, it currently does what I need it to do and other priorities have well taken priority.

If someone steps up to volunteer to be the pumpkin keeper (sorry, Perl cultural reference), I will do what I can to help (redirect my web site on my personal machine to the new home, etc...)

I don't subscribe to the struts-user list, so if you would please forward this on to encourage any discussion, I would appreciate it.

Thank you!

Cool, I'll see what the struts-user list says today (I only subscribe to this 150+ message-a-day list at work), and see if I can find a pumpkin keeper.

Posted in Java at Jan 23 2003, 04:51:45 AM MST Add a Comment

Display Tag Library - donate it!

If you need a slick JSP Tag Library for sorting and paging data, the display tag library is a great library to use. However, it's got issues - just like any piece of software. I've fixed a couple on my own, but it definitely needs some work - and integration with Struts (i.e. for getting messages, or referencing forwards) would be awesome.

The problem is that Ed Hill doesn't seem to be working on it anymore - and there hasn't been a release since May 2002! Since I do have the source it wouldn't be hard to create a project at SourceForge for it. It would be great to get some input from Ed though. Last year, I think he even did a presenation on JSP Taglibs at Java One! I know there's lots of Struts developers that use the <display> tag - I wonder if they'd be interested. I think I'll send this to the mailing list (and cc Ed) and see what happens.

Posted in Java at Jan 22 2003, 10:01:36 PM MST 1 Comment

Commons Lang: StringUtils

My new favorite method is the equals method on Commons Lang's StringUtils class. It takes the check for null out of your logic and can help you create cleaner code. Before using it you might have to write something like this:

if (request.getParameter("checkbox") != null 
    && (request.getParameter("checkbox").equals("true"))) {

With StringUtils.equals(String, String), you get a little less coding:

if (StringUtils.equals(request.getParameter("checkbox"), "true")) {

If you're using Struts or some other library that already depends on commons-lang, why wouldn't you use it? Possibly performance reasons, but I doubt it causes much of a hit.

Posted in Java at Jan 22 2003, 06:05:51 AM MST 4 Comments

Using XDoclet to generate your validation.xml?

Are you using XDoclet to generate the validation.xml file for Struts' Validator Framework? If you're using Struts and you're not using the Validator - you should be IMO. It makes both client-side and server-side validation soooo simple. Using XDoclet to generate the key file (validation.xml) makes implementation a piece of cake. We have Erik to thank for this wonderful addition to XDoclet. Much appreciated sir!

I'm guessing that not many people are using this feature b/c it works kinda funky right now. It disregards the order of your properties in your ValidatorForm and generates entries in alphabetical order. This is great except the client-side (JavaScript) piece of the Validator uses the order to determine which fields to validate first. This has caused a slight headache for me on my project, so I fixed it. Checkout XDoclet's JIRA for the bug and the patch. Hopefully it'll get committed soon, but in the meantime, I'll continue using my patched Apache module that allows me to generate ActionForms from POJOs and orders my validation.xml correctly.

Posted in Java at Jan 21 2003, 10:12:23 PM MST 6 Comments

Java Development with Ant Quiz

Sun has a Ant Quiz. Test your Ant knowledge! I missed 2 - #5 and #9. Number 9 asks "XDoclet is?" You'd think I've worked with it enough by now to know what the heck it is - but apparently not. ;-)

Posted in Java at Jan 21 2003, 08:21:26 PM MST Add a Comment

Where do you locate your daemons?

On my current project, we're developing an application that has two components. One is a webapp that lives in Tomcat and the other is a standalone jar that runs as a daemon. The daemon checks an e-mail Inbox every few minutes and if there's new mail, it processes the Excel attachments and enters this information in a database. My question is: where on the filesystem should we put this daemon? We're running on Red Hat 8 - maybe /usr/local/mail-daemon or something? BTW, we were running on BSD, but it's Java wasn't up to snuff (didn't support 1.4) - so we're running Linux instead. I dig the Linux/Java combo - it just works!

Posted in Java at Jan 21 2003, 07:47:35 AM MST 3 Comments

Clustering Tomcat

If my load balancing with Tomcat and Apache article is not what you're looking for - maybe you want to setup Tomcat clustering. If so, check out the tomcat-javagroups project at SourceForge.

I saw a couple of e-mails yesterday on the tomcat-user mailing list asking about migrating a Resin-based application to Tomcat. Turns out that Resin let's you do a bunch of non-standard stuff and doesn't validate DTDs, so migrating can be a headache. So, if you're smart, you'll follow standards and chances are your webapp will work on all appservers. Kinda like XHTML - follow standards and the containers/browsers will follow.

Posted in Java at Jan 21 2003, 05:29:56 AM MST 2 Comments

Flash and J2EE and Apache 2.0.44

Erik hooks us up with some small but cool headlines on this early Tuesday morning.

javaEnhance your J2EE presentation layer. Flash Remoting introduces an alternative. netApache 2.0.44. A security and bug fix release.

While you're here (if you are actually viewing this post through a browser), check out the cool help tip on the picture of red rocks. Click and read. To see how I did this, check webfx.nu.

Posted in Java at Jan 21 2003, 05:05:11 AM MST Add a Comment