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.

[JavaOne] Programming Puzzlers with the Google Guys

I'm sitting in a session titled "Yet More Programming Puzzlers" by Joshua Block and Neal Gafter. The other two sessions I chose for this time slot were Groovy and EJB 3. The main reason I chose this session is I've seen these guys in action before and they're excellent speakers. As part of this conference, I'd like to learn a bit about technology - but I'm more interested in becoming a better speaker. This is only my second of the day, with the first being the general session this morning. The afternoon has been spent networking, doing some Virtuas booth time, and presentation a short talk on AppFuse on the java.net booth.

In other news, it's pretty cool to see that BEA is going to start supporting Spring and Struts in its tools and servers.

The BEA WebLogic Workshop and other tools will be designed to allow applications to be built or blended from leading open source frameworks, including Apache Beehive, the Spring Framework and Apache Struts, and can then be deployed on BEA WebLogic Server. BEA will also certify the BEA WebLogic Workshop tools for Apache Geronimo and Apache Tomcat.

The Google Guys session? Entertaining and packed. All chairs were filled and many people were standing in the back and on the sides.

Posted in JavaOne at Jun 27 2005, 04:19:38 PM MDT 1 Comment

Made it to JavaOne

I arrived in San Francisco at 8:30 this morning, and headed downtown to the Moscone center. I've been sitting in the "General Session" room for the last couple of hours, and there's been some interesting announcements. You can get a Sun Ultra 20 Workstation for $30/month and it comes with a 90-day money-back guarantee. The guy on stage made it sound like a screaming machine, but it was also a Sun sales pitch.

Another announcement is they're dropping the "2" from J2EE and J2SE. Now we're not supposed to say the "J", but rather "Java". Now it's called "Java EE". I think the 2 needed to be dropped, but I think it'll take a while before Java EE has the same ring as J2EE. I can already see folks calling it "Java, eh".

Posted in JavaOne at Jun 27 2005, 12:02:17 PM MDT 4 Comments

[ANN] Equinox 1.4 Released

This release is mainly to support Spring 1.2.1 and Hibernate 3.0.5. The default database is now PostgreSQL because of an issue with Hibernate 3 and HSQL. All of the frameworks used in Equinox, as well as its build/test system is explained in Spring Live. Detailed release notes are below:

- Added "typeMismatch.java.util.Date" key to messages.properties (for Spring) to display a friendly error for invalid dates.
- Changed to use PostgreSQL as the default database because of an issue with HSQL and Hibernate 3.0. Read more »
- Added "clear" target to build.xml for clearing out the database.
- Added MySQL JDBC Driver and jdbc.properties.mysql for easy switching to MySQL.
- Changed UserWebTest (jWebUnit test) to get lastInsertedId from UI using HttpUnit rather than using UserManager (Richard Easterling).
- Changed spring-sandbox.jar to springmodules-validator-0.1.jar since Commons Validator support for Spring has moved to the Spring Modules project.
- Changed all Spring XML files to use new "value" and "ref" attributes.
- Dependent packages upgraded:

  • Cargo 0.5
  • Log4j 1.2.9
  • Hibernate 3.0.5
  • iBATIS 2.1.0
  • OJB 1.0.3
  • Spring 1.2.1

Download. For more information about installing the various options, see the README.txt file.

Demos:

The basic Equinox download contains all the various web and persistence framework options in the "extras" folder. If you have issues replacing the web or persistence framework (or both), please enter an issue in JIRA and I'll build and upload a customized version for you.

Posted in Java at Jun 27 2005, 06:27:23 AM MDT 5 Comments

Flying all over the place

I had a tremendous amount of fun this past weekend. On Friday, I flew from Denver to New York City (JFK) to attend a good friend's wedding. Friday night was the rehearsal dinner, followed by a night on the town at Webster Hall with a bunch of old college buddies. We didn't get home until 5:00 a.m. that night. Saturday we had lunch at Gramaldis in Brooklyn, which is supposedly some of the best pizza in NYC. It was definitely cool to be right in the heart of the city, eating great pizza and sipping on cold Coronas.

The wedding was held on Saturday at the Hammond Museum in North Salem, NY. The ceremony was outside in a Japanese Garden and it couldn't have been a more perfect setting. That night we were up until 4, and I woke up at 7:30 to catch a cab, train, bus and plane to get me back home. Now I'm heading to the airport to catch a flight to JavaOne. Should be a fun week.

Posted in General at Jun 27 2005, 04:10:46 AM MDT Add a Comment

RE: AppFuse, 'tool' of experts

I'm please to say that I've been biled yet again. The first time wasn't so bad, and this time seems pretty mild too. There's no mention of asshat, chozgobbler or turdburglar in the whole post, which is somewhat disappointing. Nevertheless, it's what I've come to expect from a guy who sallies car bombs and dances like a sissy.

Regardless of the lack of bile in Hani's post, he does bring up some good points. Let's take a look at them individually:

  • IzPack and MyJavaPack: the progress bar doesn't work, and the installer downloads everything rather than just including/installing it all.
    • To be honest, I didn't know it was possible to pack up everything and skip the internet download part. I'll definitely look into fixing this.
  • You must have Tomcat installed to work with AppFuse.
    • This is true, and I've thought about changing it to be Resin friendly, or possible Orion friendly, but there simply hasn't been any demand. Of course, Orion isn't that attractive to many folks because it doesn't even support Servlet 2.4. Maybe you should crackin' on that Hani! Or maybe you just like living in the dark ages with your affections for EJB 2.1, Servlet 2.3 and WebWork 1.4.
  • When creating a new project, you get prompted for the package name twice.
    • This is true, and something we should fix. The major reason we haven't is because I didn't want to distribute a 2MB BeanShell JAR that would support the 3 lines of code to fix the problem. I guess I should bite the bullet and add the bloat, or figure out a more elegant way to fix the problem. Issue #75.
  • Project generation auto-detects MySQL when you don't have it installed.
  • I'm a web monkey.
    • True, but that's cool now with Ajax and all.
  • Half the build targets don't work.
    • I think this is more like a handful don't work, but good effort. I agree we should remove the install-* targets when installing a web framework. Issue #76.
  • Every object creates builder objects in hashCode and toString.
    • This is true, and I've seen no performance implications from it. In reality, these are a product of the commons-lang project, as well as Commonclipse. We should probably change these to use smarter methods like the ones IDEA generates. It'd be nice if Eclipse has hashCode() and equals() method generation like IDEA.
  • The project's directory layout is bound to confuse a seasoned webapp veteran.
    • The directory structure is largely based off the example app in Java Development with Ant. Since AppFuse uses Ant, I figured it was a good idea to use a "best-practices" structure like Erik describes in his book. I've often thought about consolidating the 3-source tree, 3-test tree directory structure to one, but users are very attached to the current setup. Maybe for 2.0.
  • XDoclet generates web.xml.
    • I agree that using 11 XML fragments to generate 1 XML file is a little ridiculous. You're right - developers should know how to write a web.xml and what goes where. Issue #77.

Thanks for the feedback Hani - sounds like I owe you a car bomb or two at JavaOne. ;-)

Posted in Java at Jun 22 2005, 10:41:03 PM MDT 17 Comments

Bike to Work Day

It's another Bike to Work Day in Denver and I'm missing two key ingredients: a bike and an office to ride into. It's funny to look back at last year and see that my first day with OpenLogic was Bike to Work Day. This year, I'm again starting a new gig and working from home (much like last June). The good news is we'll be moving into fancy new offices (in the swanky Tabor Center) at the beginning of July.

I've been looking at new bikes, but haven't bought one yet because I'm going to be traveling so much in the next couple of weeks. NYC this weekend (wedding), San Francisco next week, followed by a week of vacation at the cabin in Montana. It'll be pretty cool to come back from that and move into my new office at Virtuas (yeah, a *real* office with a window seat!). I'll likely be forced to buy a bike then - driving to work in the summertime just isn't right.

Posted in General at Jun 22 2005, 08:23:46 AM MDT 8 Comments

AppFuse cost $78K to develop

I somehow stumbled upon Koders.com this morning, where they have a cost-of-development based on LOC in the project's CVS repository. Apparently, AppFuse has cost around $78K to develop. Here are a few other project costs I discovered:

Are these costs accurate? Probably not, but it's still an interesting indicator.

Posted in Java at Jun 20 2005, 09:20:53 AM MDT 7 Comments

HowTo set the default submit button on a form

Howard has a nice little trick for setting the default submit button on a form. Basically, you just put the default button first, and then use style="display: none" to hide it. For the most part, I haven't had any issues with putting the default submit button first (i.e. "Save"), but I have noticed an issue when developing wizards (b/c "« Previous" is likely to be first). Nice tip Howard.

Posted in The Web at Jun 20 2005, 08:58:53 AM MDT 7 Comments

Happy Father's Day

Happy Father's Day to all you dads out there! Today was a nice relaxing day, full of fun and lots of smiles. We had a picnic breakfast with a some friends at a park in North Denver to start out the day. My buddy John had a portable skillet and was able to whip up both pancakes and omeletes as we drank mimosas and watched the kids run around. Following that, we went to their neighborhood pool and enjoyed swimming around with the kids for an hour. From there, we hung out at their house for a couple hours and let Abbie and Annabelle play together. It's so cute that they're both at an age now where they can have real conversations with each other. I've known John and his wife Karen since 1992, so it's a lot of fun to get together with old friends.

We made it home at 4:30, I took a nap for a couple hours and then we headed out to dinner at Chipotle. Now the kids are in bed and we're getting ready to start enjoying my Father's Day present: Star Wars on DVD (every one but the latest one).

I'd also like to take this opportunity to thank my own Dad for being such an inspiration to me. He's one of the smartest guys I know and always amazes me with his knowledge and sense of humor. Dad - thanks for always being such a great friend, mentor and above all else - a great father!

To Brett, Chris and Crazy Bob - fatherhood is just around the corner for you guys. I hope you enjoy it as much as I do.

Posted in General at Jun 19 2005, 09:39:53 PM MDT Add a Comment

Presentations: Acegi Security and Spring Web Flow

I just noticed that the javaBin site has published the talks I did at the Norway JUGs. Here are two additional presentations that I didn't post last time:

In the near future, I hope to start taking more of Kathy Sierra's advice and reducing my presentations to almost nothing. This will diminish their value when I post them, but hopefully make the presentations a lot more fun to attend.

Posted in Java at Jun 17 2005, 11:12:16 AM MDT 3 Comments