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.

Google ranks raibledesigns.com #1

in 2 different queries! I found via my usage statistics today that both "j2ee designs" and "raible" (of course) turn up this website as it's first choices. Cool, and after checking the cached versions, that was before adding new meta tags last week! swwwwwwweeeeeeeeeeeeeeeettttt

Posted in General at Aug 25 2002, 11:48:19 PM MDT Add a Comment

XDoclet and Struts Validator

From the struts-dev list and Erik Hatcher:

My XDoclet Struts Validator validation.xml (for Struts 1.1) has been posted to the XDoclet tracker.
I'm hoping it will be added to the codebase and put into the upcoming new release of XDoclet (although I'm using XDoclet from CVS builds). Read the HTML file attachment on the issue page above for an example of how it works. If you're hand-coding validation.xml and using ValidatorForm extensions then this is for you!

I can't wait to use XDoclet in my next project! On my current project, I've already written most of the ValidationForms I need. I used the Generator package to do this, but I hope to either (1) refactor my current project to use Castor/XDoclet like Roller, or (2) use it on my next project.

I ordered an Ant book this evening in hopes of learning a lot more about Ant. I think I know a lot, but there's always room for more knowledge.

Posted in Java at Aug 25 2002, 03:47:45 PM MDT Add a Comment

Private Weblogs in Roller

I've used a "quick and dirty" technique for making a private roller weblog for family members only. Maybe Lance can use this to create a private weblog for his mom ;-)

  1. Create a new roller user: i.e. "mom"
  2. Create a user for user's to login with (I just created another roller user): i.e. "kids"
  3. Add a new role (i.e. "family") to the "role" table in your database
  4. Add two new records to the role table so the "mom" and "kids" roles have the "family" role
  5. Add the following to web.xml:

    <security-constraint> 
        <web-resource-collection>
            <web-resource-name>My Family</web-resource-name>
            <description>Restricted to Family Members Only</description>
            <url-pattern>/page/mom/*</url-pattern>
            <url-pattern>/rss/mom</url-pattern>
            <http-method>POST</http-method>
            <http-method>GET</http-method>
        </web-resource-collection>
    
        <auth-constraint>
            <role-name>editor</role-name>
            <role-name>family</role-name>
        </auth-constraint>
    </security-constraint>
    
  6. Distribute the "kids" username/password to the appropriate parties.

Hope this helps!

Posted in Roller at Aug 25 2002, 03:19:54 PM MDT 2 Comments