Matt RaibleMatt Raible is a Web Developer and Java Champion. 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.

AppFuse 2.0: JDK 5, Annotations and JSP 2.0

For the most part, I haven't used JDK 5 on any of my recent projects. You can compile and run AppFuse with JDK 5, but it doesn't use any JDK 5 features. After doing a code review at Bouvet last week and seeing how much cleaner their code is with Generics, Varargs and the Enhanced for Loop, I think it's time to dig in. I don't know how soon we'll start, but I think it's time to start creating a branch for AppFuse 2.0 - which will use these features. For AppFuse 2.0, I'd like to go whole hog, bleeding-edge and use all the stuff that's out there to make developer's lives easier. This includes JSP 2.0, Annotations (especially for Hibernate and Spring, as well as Tapestry) and all the JDK 5 features that seem useful.

Since most developers won't be able to deploy on a JDK 5-compliant server for quite some time, we'll continue to maintain the 1.x branch as JDK 1.4-compliant. I expect to release AppFuse 1.8.1 later this week (with mostly bug fixes + latest releases of Hibernate/Spring) and 1.9 in the next month or so. From there, we'll likely do 1.9.x releases with bug fixes and do all the major upgrades (i.e. Tapestry 4.0.x) in the new branch. Working with new features in JDK 5 should be a lot of fun.

I'm hopeful that we can get rid of XDoclet and we may even give Maven 2 a run for its money. Last week in Norway, I found that most Java developers were using Maven on their projects and I also discovered that many of the core Maven 2 developers are getting paid to work on it full time. There were even claims that Maven 2 is going to be twice as fast as Ant - which definitely intrigues me.

Later: I just realized the hardest part of this migration is going to be replacing AppGen. It currenly uses XDoclet templates for all the class templates - and we'll need a new solution based on annotations. Oh well, it's kind of ugly anyway, but it'll likely be difficult to figure out a new solution. Hopefully we can create some sort of tool that involves easy-to-customize templates and a GUI to drive it all.

Posted in Java at May 30 2005, 12:41:52 PM MDT 27 Comments

Pictures from Norway

I didn't see many of the sites in Norway, but I have a feeling I'll be back again. I think Julie would love Norway, so I'm going to try to bring her with me next time. Click on the images below to see more pictures.

Oslo Fjord The Courthouse

Mmmm beer Another round!


Posted in General at May 28 2005, 01:17:00 PM MDT 4 Comments

Norway Rocks!

Norway has to be one of the coolest places on Earth. I've been here for a week now, and I'm definitely impressed. I didn't know what to expect when I left the U.S. - mostly because my last trip to a non-English speaking country was to Russia in the mid-90s. When I went to Russia, I thought it'd be a lot like the U.S. What I found was a beautiful country that was struggling to survive. I wasn't expecting a whole lot from Norway.

I'd heard it was modern, but I wasn't going to get my hopes up. When my laptop died on the way over, I thought I was in for it. I figured they probably didn't sell PowerBook cords over here, so I was screwed. Luckily, I was wrong. Unfortunately, I had to buy a whole new laptop - but it has been quite nice using a faster machine (1.67 MHz / 1.5 GB RAM) this week, with Tiger and all that jazz.

This week has definitely been tiring. I've given a fair amount of presentations in my life, and even done a few week-long training course. However, I've never talked as much as I did this week. I did a total of 7 sessions on Spring this week, at 3 different companies and 2 different JUGs. It was a lot of work, but it was also fun to meet so many enthusiastic Java Developers. Preaching the Spring gospel is pretty easy since it's such a kick-ass framework.

So what about Norway? It's very modern. In many ways, it's more modern than the U.S. It seems cleaner, the people are nicer, and apparently there's little crime and/or poverty. This is readily apparent from the moment you get off the plane. There's a "bullet train" from the modern/cool-looking airport into downtown Oslo. It takes about 20 minutes, and then you're wisked away into a historic city by the sea. I dig the train.

I've been staying at the Hotel Stefan in downtown Norway Oslo, which is about 5 blocks from the main courthouse and lots of historic buildings. I'm a block away from a castle too! The funny thing is all the westernization - there's a TGI Fridays down the street and Star Wars is playing at the local theater. Taxis are very cool - most of which are new Mercedes. The only downside I've seen so far is the beer is pretty expensive ($10/each).

I've taken a few pictures and hope to take several more while sipping on seome cold ones with the locals tonight. I'll try to upload the whole batch later this evening or tomorrow morning. My flight leaves at 11 a.m. and I'll be back in the Denver tomorrow night. The 16-hour flight home is going to be rough - good thing it's in first class. ;-)

Posted in General at May 27 2005, 09:22:32 AM MDT 27 Comments

My Next Big Adventure

I mentioned last week that my next professional endeavor was going to provide more time to work on AppFuse and Spring Live. Now I guess I should explain what my next big adventure is. ;-)

As most of your know, I've been writing Spring Live for SourceBeat. When I signed up with them in March of last year, their grand vision for the company wasn't just to write books - it was to become a training and consulting provider as well. They wanted us as authors to eventually write training that we could deliver on-site, as well as at our facilities in Denver. As far as consulting, they wanted to provide consulting in the true sense of consulting - where we give advice and help people implement open-source in their environments. Not the code-monkey kind of consulting/contracting, but rather the big dollar kind of consulting.

Now they've got an outlet for that venture.

Not only have they gotten funding for developing training programs and providing open-source mentoring to CIOs and CTOs, they've got the connections to make it work. Furthermore, we think we've established a team that will make this a tremendous success. Many of us have been independent consultants for quite some time - so we all have a certain desire to make things happen for ourselves without having any loyalty to a particular company, or person in charge. We've all decided to give up our independent status to build a company together - because we think this venture can actually provide more freedom than independent consulting provides.

If we do it right, we plan on doing training and consulting for a week or two per month, and then working on driving the open source movement the rest of the time. All of us expect to dedicate more time to the books we're authoring, as well as contribute more to open source projects. We also plan on writing more articles and trying to help out the community more - to promote open-source tools and make them easier to use through good documentation.

At this point, you might be wondering who "We" is. As of this point in time, Matt Filios is heading up the show. He's the current CEO of SourceBeat, and it's his ideas that've made SourceBeat a unique and fun publisher to work for. Starting this new company has been in his "idea bank" for quite some time, so it's great to see his enthusiasm and energy in getting this thing off the ground. He has a lot of connections and excellent business sense to make this new company a sure success. It's great to have someone in charge that you trust and feel confident about.

Having a business leader makes good sense for a company, but you also need a technology leader. For that, Bill Dudney has stepped up to the plate and will try to keep us focused and make sure we're not goofing off all the time. Bill's role is as Vice President per se.

From there, we're establishing a number of "Practice Leaders" that are experts in a particular area, and can provide training and high-level consulting for particular technologies. I will focus on my core expertise as the Spring and Web Frameworks Practice Leader. We have also added Bruce Snyder and Jeff Genender with their in-depth knowledge and expertise in application servers and databases, and will continue to add Practice Leaders in a host of areas, including operating systems (Linux of course), databases, and other applications.

The new company's name is Virtuas, and our headquarters will be in downtown Denver. Our new office is only a few blocks from my last contract, so I'm pretty pumped that I can continue to ride my bike to work. The best part about this new job is it's not really a job. It's starting a company, pursuing a passion, and doing the stuff I normally do at night and on weekends. I won't need to switch gears anymore when I go to "work", but rather just learn, promote and teach the technologies I'm passionate about. How cool is that?! :-D

Posted in Java at May 26 2005, 08:15:57 AM MDT 28 Comments

A CSS Framework

Mike Stenhouse's CSS Framework seems like it might be a good candidate for inclusion in AppFuse. In his article about this framework, he basically says that there are 6 basic layouts that "cover most of the blogs out there and most of the corporate sites as well". He shows you how it's possible to use a single XHTML page, and use CSS to achieve all of these layouts w/o changing your HTML. This is huge IMO because you can accomplish all the different layouts w/o changing your markup. Very cool. Hat tip to CSS Beauty.

Posted in Java at May 23 2005, 10:26:01 AM MDT 15 Comments

Java Jobs: broken down by web framework

I updated my Web Framework Comparison presentation today. Rather than updating the graph that shows today's job availability, I did one that compares today to 6 months ago. Struts is still the clear winner (and growing). Spring is definitely growing. Tapestry has about the same amount of jobs (9 vs. 8). WebWork lost 10 opening (down to 4) and the demand for JSF skills has grown as well.

Is WebWork a dying framework? I've heard folks complain about its small community, and there still aren't any books is only one book about it. Is that a jab at Patrick, Jason and Kris - or a jab at Manning? I'm not sure. ;-) The good news is WebWork in Action and WebWork Live should both be out this summer.

Web Framework Jobs

My search criteria for all of these was "framework and java" from the front page on dice.com. I did filter a bunch out for WebWork b/c there's some product called "WebWorks" that folks want to hire for.

In my own experience, these numbers are not as accurate as you might think. Since I gave my original presentation, I've been contacted a number of times to work on projects. It's about even between Struts, Spring MVC, WebWork and JSF. I haven't had a single inquiry to do Tapestry development. The bad part about Struts jobs is there's so many of them, that rates are likely pretty low (i.e. 35-45/hour), whereas the others can get you upwards of 80-90/hour.

So what do these numbers mean? Do they mean you should tailor your learnings and skills to the most popular frameworks? In a sense, it's important to do so. If nothing else, Struts skills are import so you can migrate all the Struts applications to your favorite framework. However, I don't think these numbers are that important when choosing a framework to start your project with. I think the most important thing in choosing a framework is passion. Which one do you want to work with the most? It's likely that your productivity will be higher if you're enthusiastic about the framework, rather than bored with all the skills you've accumulated using it. Then again, if you're motivated by productivity more than enthusiasm - using your skills to crank out applications quickly is probably a good idea.

You might think that the number of skilled developers for framework X is important too. I don't think it is. I think the most important thing is to hire smart developers. A good developer can come up to speed on any framework in 2 weeks and be highly productive in 4 weeks. If not, the developer isn't that smart or the framework isn't that good. ;-)

Just for kicks, I did some searching for other web frameworks as well:

  • Rife: 0
  • Wicket: 0
  • Echo: 3
  • Ruby on Rails: 1
  • ASP .NET: 2876

Now the question is - what kind of rates are these skills getting? I'd like to know what the average Rails and ASP .NET developers make. In Denver, Java developers seem to make between 65-85/hour when they're experienced contractors.

Posted in Java at May 22 2005, 07:28:01 AM MDT 13 Comments

TechTalk on TheServerSide

TheServerSide has posted an interview I did with Dion at ApachCon last November. If you want to hear me ramble on about AppFuse, Spring Live and web frameworks - check it out!

In other news, I have some big (professional) changes to announce, but I'm going to wait a day or two and compose a good entry for it. Let's just say I'll have a lot of time to work on AppFuse and Spring Live in the near future (and get paid for it!). ;-)

Posted in Java at May 21 2005, 03:47:34 PM MDT 14 Comments

PowerBook Dead?

I think my PowerBook has died. It figures - the one week in my life where I need it all week, and it quits working. The symptoms started happening yesterday as I was sitting in DIA, getting ready to come to Norway. The powercord wasn't lighting up when I plugged it into an outlet at the airport. At first I figured it was the outlet, and switched between a few different outlets. None of them worked, and I thought to myself "I'm screwed." Then I wiggled the connection where it connects to my laptop - and it lit up! "Phew, that was a close one", I thought.

I ran down my battery on the flight to Newark, and then found an outlet to recharge on my layover. No light. I tried 3 more outlets. No light. At this point, I figured it was my powercord and wondered if I'd even be able to buy one in Norway. I looked desparately around the terminal for another PowerBook user - hoping to buy a powercord off someone. No luck.

Now that I'm in Oslo, getting my PowerBook working again is my top priority. I found an Apple Store and I'm typing this from a PowerBook they have on display. Typing is a little difficult because it's a Norwegian keyboard and all the special characters are not on the keys I'm used to. I talked to the guy at the service desk and he tried the simple solution: using a powercord from one of the PowerBooks on display. No dice. Even worse, it seems to have fried the cord of the one on display!

My PowerBook doesn't seem to be totally gone - the light is still fading in and out on the front of it. But I can't turn it off (even after removing the battery), so I don't know what to do. I'm going to try searching Apple's forums and calling their support line, but I doubt either will work. Right now, it looks like I'll have to buy a new laptop (with a Norwegian keyboard) and spend the next 2 days re-creating all the training materials for this week. No power, no hard drive. Damn.

Luckily, I did send some of my presentations (in PDF form) via e-mail, so I haven't lost everything. I knew I should have backed up the Keynote files on a remote site before I left!

And so my adventure begins... ;)

Update: I figured out a solution. Using a charged battery still works - so the Apple Store is charging mine right now. I'm on my laptop, with one of their batteries, using their wireless. Unfortunately, the only way to charge my battery is in a PowerBook. The guys at Bouvet offered me a PC laptop, but I'm so used to presenting on the Mac - I don't want to lose that comfort level. So it looks like the solution is to buy a new PowerBook.

The good news is I get a 25% discount on the price when I leave the country (hopefully bringing it inline with US prices), but the bad news is it has a Norwegian keyboard. I can remap the keys, so that's not a big deal (since I don't look at them anyway). So the question is do I go whole hog and get the 1.67 GHz 17" with 2 GB RAM - or do I get a 12" and give it to Julie when I get back? The problem with buying the "whole hog" is I'm afraid the dual G4 cores will be released in early June, and I'll be stuck. The problem with buying a 12" and giving it to Julie is she really doesn't want one and will complain we can't afford it (she's right too).

If I bought the 17", I I could try selling it on eBay right when I get back, and hopefully get it sold before the new PowerBooks are announced. If they're not announced - oh well, I got a new laptop (which I need, but not really). What would you do if you were in my situation?

Update 2: Right after posting the update above, the guy came over to me and we talked about 17" vs. 12" and RAM prices, etc. They close in 10 minutes, I chose the 17" with 1 GB of RAM (1 chip). It's something like 27,000 kroners. Yikes!

Posted in Mac OS X at May 21 2005, 05:52:21 AM MDT 5 Comments

See you in Norway

My flight leaves Denver at 1:00 this afternoon and I arrive in Oslo at 9:45 tomorrow morning. Riding first class on the way to New Jersey should be quite a treat. There's no outlets on the flight (I called and asked Continental), so I won't be able to get much work done. I might as well sit back, watch a movie or two, and have a couple cocktails. ;-)

A friend of mine (hey Frenchie) told me the best strategy for overcoming jet lag is to stay up all day until the local time's evening - and go to bed at the same time as everyone else. So I arrive around midnight Denver time, and if I stay up until bed-time Oslo time, it'll be like staying up until noon tomorrow. Should be interesting for sure.

I'll try to post some pictures tomorrow, as well as blog about my experience getting over there. Stay tuned!

Posted in General at May 20 2005, 09:53:44 AM MDT 6 Comments

Am I forgetting anything?

I'm wondering if I'm forgetting anything for my trip tomorrow? I picked up a book on Norway and bought a World Travel Adapter Kit so my PowerBook will work. Is there anything I'm forgetting? I'm assuming Norway is a pretty modern country where I can buy anything I need - but you never know. The last time I went on a trip like this was to Russia - where there weren't a whole lot of options for re-purchasing forgotten goods.

Posted in General at May 19 2005, 10:58:49 AM MDT 11 Comments