Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

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.

Replacing line breaks with HTML breaks in Velocity

Roller currently has an issue where line breaks in comments are not auto-converted to <br>'s. This problem only exists in the in-page comments and the twisty comments you see on this site. Today, I might've figured out the solution. It turns out that using Jakarta Common's StrutsUtils to replace new lines with <br>'s doesn't work:

#set($comments = $stringUtils.replace($comments, "\n", "<br />"))

However, using the String.replaceAll(new, old) in JDK 1.4 does work:

#set($comments = $comments.replaceAll("\n", "<br />"))

I figured this out on my current project and haven't tested it on Roller. Since I didn't find anything on this via Google - I though y'all might be interested.

Posted in Java at Mar 10 2004, 03:58:26 PM MST 6 Comments

Groove Systems: Cheap Java Hosting Provider

Spotted on the WebWork Mailing List today. Groove Systems (Rick Salsa's employer) has some nice hosting solutions. I currently pay $30 (Canadian) for 200 MB, 5 GB Transfer and my own JVM at KGBInternet.com. Keith (at KGB) rocks because he is always quick to respond to any of my issues and always tries to help me out. However, I have to admit, Groove's Grooviest package looks pretty nice. For the same price ($30 Canadian), you get 1 GB space, 15 GB Transfer and your own JVM.

The only question I have is how much memory do you get? Keith does nothing to limit memory usage, so I'm currently set at a 512 MB max heap size. Who knows if I'm using it all, that's just what I'm set at. Oh and one other thing you might like to know:

... right now you can get a 32meg private jvm for free.

Read the read e-mail from Rick for more info.

Posted in Java at Mar 10 2004, 12:54:11 PM MST 3 Comments

Do you censor your own blog?

Someone asked me recently, "Do you censor your blog?" As in, "do you only write about stuff that you think readers will be interested in?" At the time, I said, "No - I write whatever the hell I want." However, I've come to realize that this is not exactly true. When I first started writing this blog, back in August 2002, I wrote about everything. I didn't care, I was writing to write and nobody was reading me.

Then, in November of 2002, along came the opportunity to help write a book. This was pretty damn exciting for me, as I think that being a published author is pretty cool (BTW, if I never started blogging, I'd have never gotten the Pro JSP or the Spring Live deals).

What has happened over the last year or so is something I never expected. Hopefully it's just in my head and it isn't really true. I've started to feel like an authority on web development - so I feel that I can't really post dumb questions, problems, etc. on this site. I feel that if I do, I'll lose credibility. It doesn't help that I've gone from 2 visits a day to over 4000. Damn - I'm censoring myself. That's just wrong...

I'm tempted to say, credibility be damned, actions speak louder than words - and run with it. After all, most of the hits on this site come from Google - and the reason is because I've copied and pasted so many errors/exceptions into this blog. More errors = more hits = more money from Google Ads? ;-)

Posted in Roller at Mar 10 2004, 11:42:03 AM MST 4 Comments