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.
You searched this site for "appfuse". 771 entries found.

You can also try this same search on Google.

Spring's "p" namespace and AppFuse Performance Tuning

After seeing Rod Johnson's post about Spring 2.0's "p" namespace, I'm wondering if it's something we should include in AppFuse? I don't think it's quite as intuitive as <property name="">, but I'm curious to see what users think. The biggest reason against using it is (AFAIK) neither Eclipse nor IDEA will give you code-completion on (whereas they will for <property name="">).

In other news, Matt Fleming has an excellent writeup on how he optimized AppFuse (Spring MVC flavor) to handle pages with large forms. His form was 38 MB worth of HTML when saved to disk so I doubt everyone will need this, but it certainly is interesting information. If there's enough demand, we'll make Matt's suggestions available options in an upcoming release.

Posted in Java at Nov 28 2006, 03:02:13 PM MST 4 Comments

Back in Denver

Raible Road Trip #11 was an excellent vacation. Our plan to drive through the night worked out splendidly. Not only did I make it to 7:30 a.m. (with the help of a bit of Red Bull), but I got to jam to my favorite tunes all night long. We left at 11 p.m. and I handed over the reigns to Julie just outside of Billings. She drove for the next 3 hours, and I took over again for the final 3. Total time: 14 hours.

We arrived at the cabin at 1:00 p.m. on Wednesday. Actually, I should say we got stuck at the cabin at 1:00 because we made it all the way up the "bumpy road", but didn't make the last hill. 40 minutes later and at 40 miles an hour, I made it up the last hill. The next 3 days at the cabin were great. We took Cookie the Dog and she loved it as much as the kids did. The drive home over the last 2 days wasn't nearly as pleasant as the drive there, but listening to "Little Einstein's" on the DVD player is never as much fun as listening to your favorite tunes. ;-)

Click on the images below to view pictures from The Cabin.

The Cabin - November 2006 Mimi and Baba

The next couple weeks will likely be hectic. This week I'll be writing AppFuse 2.0 documentation. Next week I'll be delivering a Spring + Hibernate class in Boise, Idaho with Country Bry and Scott from Virtuas. Then I'll be flying to The Spring Experience on Thursday for a weekend in paradise. Better yet, I'll be spending the following week in Florida on vacation. :-D

Posted in General at Nov 28 2006, 01:41:57 AM MST 2 Comments

Free Seminar: Lightweight Java for 2007

If you happen to live near Denver, you won't want to miss our Lightweight Java For 2007 Seminar this week. It starts this Wednesday at 1:00 PM. We'll be doing talks on JPA, Spring 2.0, JSF + Ajax and AppFuse 2.0. The seminar is free and should be a good opportunity to learn about what's hot in Java these days.

All attendees will receive a complementary copy of a book on Java Technologies, seminar materials, and will be entered into a raffle for an iPod and other great prizes! Directly following the event, join the Virtuas gang for complimentary drinks and hors d'oeuvres at Rock Bottom Brewery from 6:00 PM to 8:00 PM.

Posted in Java at Nov 27 2006, 04:00:00 AM MST 1 Comment

AppFuse developerWorks articles in Chinese

Thanks to Technorati, I found that Chinese articles on AppFuse happen to be some of the most popular on IBM developerWorks. Not only has 7 Simple Reasons been translated, but another article titled ?? AppFuse ???? J2EE ?? ("AppFuse quickly built using J2EE Application" according to Google) was written just last month. It's great having non-English speakers using AppFuse - it insures we have excellent internationalization support!

Update: I'm aware the Chinese characters didn't come through on this post. I'm working on getting the MySQL database powering this site to support UTF-8.

Posted in Java at Nov 20 2006, 02:22:15 PM MST 3 Comments

How can Nabble be improved?

I recently received the following e-mail from the founders of Nabble:

You are the first person (literally) to recognize the value of Nabble. So far, Nabble has been well received. But it needs more users. There are a lot of open source projects archived on Nabble, but how do we go about letting people know about us? We would like project owners to link to us and skin us like you did with appfuse, but I am not sure how to do it. You know many people in the open source world, so we would really like to hear your thoughts and advice.

For example, should I go and announce Nabble on a project list? If so, should I do it on the dev list or user list? Is this considered OK or spam? Or should I contact the mailing list owner by private email? What nabble feature do you consider most useful to the project owners?

My response to the first paragraph:

I would suggest e-mailing project owners and pointing out projects like AppFuse and Maven that've taken the time to "skin" their forums. I'm guessing you could get some real good traction at Apache because they like to keep everything on mailing lists. People like your forums because they can post (and subscribe to) a single message. AFAIK, you can't do this with any other mailing list archive. Maybe you could write an article for TSS or InfoQ that tells all the features and highlights projects that are using it.

As far as announcing Nabble on a project list, I said:

I would do it on the dev list, but sending private e-mail is probably OK as well. I don't think it will be perceived as spam. Sending it to the dev list might skip a step for the project founder. You could also offer to "skin" forums for folks - so it looks like their project sites. I think the most useful feature for end-users is search and easy browsing. It's *much* better than the archiving/browsing tool that Apache uses.

One thing that might attract for folks is vanity URLs. I don't know if it's possible, but something as simple as appfuse.nabble.com might be attractive to some people, or having some sort of path-based URL, for example archive.nabble.com/java/java.net/appfuse. That way it'd be easier for folks to "guess" the URLs of mailing list archives.

What's your advice? What should Nabble do to get more users? Maybe if folks new about Nabble's RSS feeds, they'd use it more. I'm currently subscribed to Maven, Wicket, Shale and Stripes, just to name a few.

Posted in Java at Nov 18 2006, 12:10:52 AM MST 11 Comments

AppFuse at the Denver JBoss User Group

Last night, I presented "Seven Simple Reasons to use AppFuse" at the Denver JBoss User Group. I was definitely surprised to present this talk to a packed room of developers. One person joked afterwards that there might've been a lot of Microsoft folks there, all fearing that Vista was going to doom their future. It was at a Microsoft building, so I guess it's possible. This presentation is similar to my developerWorks article with the same title.

Download Seven Simple Reasons to use AppFuse (PDF, 6.3 MB)

If you're interested in learning more about Lightweight Java technologies, Virtuas is hosting a free seminar later this month. After the seminar, we'll be sponsoring a happy hour at the Rock Bottom Brewery.

Posted in Java at Nov 17 2006, 03:32:46 PM MST 1 Comment

How do you get open source frameworks past the red tape?

From an e-mail I received earlier this month, with a subject of "Acceptance red tape":

After requesting permission to use the Spring Framework for the business logic and data access layers of an application, how do you fight something like this? Spring is not an approved Framework for the ********** environment. We understand the benefits of the framework. However, we have not certified it in our environment. Additionally, we have concerns that this framework will not gain long standing traction among the J2EE community. We would like to reduce the number of frameworks used in our environment, and do not want to be left with "legacy" frameworks that have little acceptance or support as is the case with the pico container. This is a response from one of our clients after asking about the use of a framework in our development after another vendor had used the PicoContainer without their permission. We have Spring experience and we love it. My responses have been to ask what they have certified that we could use and to ask their business staff to override their tech staff. I'm caught needing to redesign an aging J2EE application with an awfully over-architected original design confined to EJB 2.1, JSP 2.0, Servlet 2.4, and JDK 1.4.X in a very short amount of time. The additional responses were that they have only certified Struts and although both the business staff and the tech staff admit they know the benefits of Spring, neither of them are allowing us to use it.

My response:

Wow - I don't know what to say, especially when they say "Additionally, we have concerns that this framework will not gain long standing traction among the J2EE community." They're probably using Struts and they thinks it's wonderful, eh? ;-)

I could compose a long response with lots of details, but the fact that they prefer EJB over Spring is baffling. Spring is so much easier to program with, it's not even funny. Granted, EJB does have its place, but it's often used as a hammer for a problem that doesn't exist.

Have you experienced similar "Acceptance red tape" in your company? If so, how did you work around or work through it?

Posted in Java at Nov 16 2006, 08:04:24 AM MST 31 Comments

Is XMLC a dead project? Is anyone using it?

From an e-mail I received a while back:

I'm interested in hearing your opinion of XMLC? And when will we see it in AppFuse? ;-) Seems to me that with it's base in xml and all the ajax and SOA hubub that it could be primed for a resurgence. And what about BarracudaMVC as an AppFuse option?

[Read More]

Posted in Java at Nov 15 2006, 10:13:03 PM MST 14 Comments

Learn about Geronimo tonight and AppFuse on Thursday

If you happen to be in downtown Denver tonight, and you're interested in Geronimo, you may want to stop by the Rock Bottom Brewery for the Geronimo Special Interest Group. IBM is sponsoring the food and beverages and Bill Dudney will be providing the conversation. I highly recommend attending if you can as there will be a plethora of good beverages for all. I won't be missing it.

Also, for those interested in learning more about AppFuse, I'll be speaking at the Denver JBoss User Group on Thursday night. There's a lot of cool stuff happening in AppFuse's SVN right now. This is, in large part, caused by a number of new committers: Mike Horwitz, Bryan Noll and David Whitehurst.

Mike has done a lot of work to allow Maven to recognize a WAR's dependencies. Furthermore, he's in the process of trying to get this functionality added to the maven-war-plugin. Bryan Noll (a.k.a. "Country Bri") has recently converted the data module to have a Generics-based generic DAO implementation for Hibernate and iBATIS. Bryan has recently become an OpenJPA committer as well - so feel free to start harassing him about doing the JPA implementation for AppFuse. Finally, David has been working feverishly on the AppFuse Maven Plugin that replaces AppGen. Welcome aboard gents and thanks for all your contributions so far!

Posted in Java at Nov 14 2006, 02:43:08 PM MST 2 Comments

ICEfaces gets open sourced

As far as JSF Ajax frameworks are concerned, there seems to be two major players: Ajax4jsf and ICEfaces. I don't know that either one is a true open source project (where developers are from multiple companies), but Spring isn't either, so I don't know that it actually matters. I think it interesting that both products don't seem to care about capitalization, but I digress.

Today, ICEsoft announced they've open-sourced ICEfaces. Was this inspired by Java going GPL?1 I doubt it, these things take time and it's likely that ICEsoft had this one in the cooker for quite a while. I do think it's interesting that the major JSF component vendors (Oracle, Exadel and now ICEsoft) have all open-sourced their products. Must be a tough market out there.

Apparently, ICEfaces works with Facelets, so it should work with AppFuse and Equinox. Looking through ICEfaces documentation and sample apps, they seem to be missing a straight-forward "here's how to integrate it into your existing application" guide. They do show how to modify your web.xml, but there doesn't seem to be a short, concise guide to what configuration settings you need to add to your faces-config.xml. I was somewhat motivated to write such a guide this morning, but lost motivation quickly as I realized it might be quite the effort. If someone wants to create the Maven bundles for ICEfaces, I'll try to carve out some time later this week to write up instructions for integrating ICEfaces into Equinox and AppFuse.

Unfortunately, integrating ICEfaces into your project is only the beginning. The hard part is choosing which is a better Ajax toolkit: ADF Faces/Trinidad, Ajax4jsf or ICEfaces? Trinidad and ICEfaces seem to be more about components, whereas Ajax4jsf is more about Ajaxifying regular ol' JSF components. So I think Ajax4jsf still remains, and ICEfaces looks like a better out-of-the-box component library than Trinidad. I guess time will tell.

Update: I forgot to mention Infragistics NetAdvantage as a JSF Ajax framework. OpenLogic decided to use Infragistics in the project I started for them. I was able to get it working in AppFuse fairly easily, but it's kinda ugly from a setup standpoint. They require you to copy a bunch of static files (images, stylesheets and scripts) into your project. Yech.

[1] Stephen O'Grady has an excellent writeup on this: And Sun Said, Set My Java Free: The Open Source Q&A.

Posted in Java at Nov 14 2006, 10:27:07 AM MST 8 Comments