Matt RaibleMatt Raible is a Web Architecture Consultant specializing in open source frameworks.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: AngularJS, 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.


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.

[ANNOUNCE] Struts Resume and AppFuse 0.7 Released!

There's nothing like tootin' your own horn. What's even worse is checking all this stuff into CVS and then uploading it on a dial-up connection. Anyway, here it is - the latest and greatest version of struts-resume and (finally) a version of appfuse. AppFuse is basically struts-resume w/o any resume stuff. There's not much new that's visible for struts-resume, the only real things are User Administration (no add, just list/delete/assign roles) and a smart-menu that stays expanded based on your previous selections. Here is a full list of what's new in 0.7 (both apps):

Features in 0.7
- Upgraded to Hibernate 2.0 Beta 4.
- Upgraded to Struts 1.1 nightly build (2003.03.26) to fix Validator issue.
- Upgraded DBUnit to 1.6-dev to fix batchStatement error in Ant task.
- Upgraded Canoo WebTest from build265 to build276.
- Upgraded XDoclet to nightly build (2003.03.28) for Hibernate 2.0
compatibility. Apache module is still customized for POJO -> ActionForms.
- Upgraded Display Tag Library to version 0.8.5.
- Renamed "test-canoo" task to "test-jsp".
- Added "db-load" as a dependency to running unit tests to get a fresh
database each time.
- In and, pre-pended contextPath
to authURL (i.e. "j_security_check") to get absolute path.
- Added User Administrator to list/edit/delete users. This feature
includes using indexedProperties on a form - still using XDoclet, but using
a subclass of UserForm, called UserFormEx to hold the getter/setters for
the indexedProperties.
- Wrote more Cactus and Canoo Tests to verify Resume editing and User
Administration functioned properly.
- Added icons to success and error messages template (common/messages.jsp).
- Implemented role-based Permissions on menu by adding
permissions="rolesAdapter" to in menu.jsp.

I've put a line through the renaming of "test-canoo" to "test-jsp" because it's in the README (part of the download) and I don't want to re-upload just because of one stinkin' line.

Tomorrow, I'm actually presenting for the Struts Training class, so I won't be able to give a full review. One of the gents who wrote Stxx will be presenting first at 8:30 MST, and then I'm up for my preso. I'm going to do some short and sweet stuff on Remember Me and XDoclet with Struts. If you're interested, you can do the labs I put together. I'll post the slides when I'm done presenting.

Posted in Java at Apr 04 2003, 11:56:25 PM MST 3 Comments

isn't it much better to use catalina-ant.jar to operate the tomcat manager? specially when developing, it is faster to deploy pointing tomcat to the build dir instead copying the whole webapp under webapps/. Anyone downloading resume app for the first time, may want to use vizant to display a graph of the build.xml. "Vizant is an Apache Ant task to create graphviz DOT source code from an Ant buildfile. The image created from the DOT source code shows the targets dependency." An ant script is always complex with projects like this (yours is nice BTW). I tried something cleaner using antcall, then I switch to maven, then back to ant (I got frustrated with xdoclet modules). Maven is much better than ant but it is not ready yet.

Posted by jano on April 05, 2003 at 04:16 PM MST #

Jano - I've looked at catalina's built-in ant tasks, and you're right, I should probably configure my struts-resume.xml to point to my build directory. To do this, I'd have to change my destination directory for web.xml to be build/struts-resume/WEB-INF/, but I suppose that's do-able. It might screw up the war task, but it <em>would</em> speed up development reload time. I think I'll keep it like it is unless someone can patch/prove there's a better way. ;-) The nice thing about the current setup is you can run "setup-tomcat" and it copies everything to Tomcat and sets it up. I'd have to figure out the user's absolute path to their build directory and put that in struts-resume.xml otherwise.

Posted by Matt Raible on April 05, 2003 at 04:47 PM MST #

Check struts-resume, just a couple of tomcat targets and some uml. Try "webapp", "tomcat.install", "tomcat.remove".

Posted by Jano on April 15, 2003 at 03:19 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed