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

You can also try this same search on Google.

Hibernate PlugIn for Struts

I don't know that there's a need for a Hibernate PlugIn for Struts, but I wrote one today just for kicks. Pretty simple stuff that only requires you to have hibernate.cfg.xml in your WEB-INF/classes directory, and to add the following to your struts-config.xml.

<plug-in className="org.appfuse.webapp.util.HibernatePlugIn"/>

Then create the file org.appfuse.webapp.util.HibernatePlugIn as follows:

public class HibernatePlugIn implements PlugIn {
    //~ Instance fields ========================================================

    private Log log = LogFactory.getLog(HibernatePlugIn.class);

    //~ Methods ================================================================

    public void init(ActionServlet servlet, ModuleConfig config)
    throws ServletException {
        try {
            SessionFactory sf =
                new Configuration().configure().buildSessionFactory();

            if (log.isDebugEnabled()) {
                log.debug("Hibernate configuration completed.");
            }
        } catch (HibernateException h) {
            log.fatal("Error configuring Hibernate!", h);
        }
    }

    public void destroy() {}
}

This doesn't seem to have any advantages over using a StartupListener, but it would be pretty sweet if it was included with Struts (or Hibernate), so you could simply put it in struts-config.xml and be done with it.

Posted in Java at May 31 2003, 11:31:41 AM MDT 2 Comments

Hotels.com powered by Struts!

This is kind of a cool announcement - giving more credibility to Struts. Personally, I think all the leading web application frameworks are great - and can probably be learned in a week or two (or a few days/hours!) - so it's not about which one you're using, it's about if you're using one or not. If you are - you're on the right path. If not, you're probably wasting a lot of time developing your own.

I am proud to announce the successful launch of a major vacation packaging site whose presentation tier has been built entirely with Struts:

http://packaging.hotels.com/packaging/index.do

We have made extensive use of the Struts MVC framework, custom tags, and I18N components, with some custom modifications. It has proven itself to be a stable and robust platform, able to amply handle the needs of both our users and management.

I would like to applaud everyone who has worked on the Struts project; it has been shown yet again to be an excellent framework for a commerical web application.

James Childers hotels.com Packaging Team

Posted in Java at May 30 2003, 10:59:40 AM MDT 1 Comment

News you can use - Quartz Plugin for Struts

While plowing through the 5000+ e-mails at work this morning, I tripped over the QuartzPlugin for Struts. This looks very cool - a way to configure scheduled tasks (i.e. a cron job) as part of your web application.

The QuartzPlugin for Struts allows you to automatically configure and start a Quartz scheduler upon initialization of your Struts application. It also places itself in your application context to make a scheduler available within your actions. That is, in addition to statically scheduled events like "every six hours," you can dynamically schedule events from Struts actions for "24 hours from now".

Now I just hope I get a chance to utilize this bad boy in the near future.

Posted in Java at May 28 2003, 05:56:13 AM MDT 1 Comment

Home Sweet Home

We arrived home just a couple of hours ago - and boy is it good to be back in the land of no humidity. Julie's skin is itching already (it loves humidity) and mine is loving life. I don't plan on detailing all the blogging events I missed, but since nothing earth shattering appears to have happened - it looks like it was a good time to relax and get away. There are, however, some things worth mentioning:

  • These CSS Tabs are wicked cool and at first glance, I think I can create a tabbed menu for struts-menu with a bit of CSS and the ListDisplayer.
  • The pseudo-class selector :hover can be used on a paragraph to create a cool effect and I might have to use it... someday.

It's good to be back - and was one of the most relaxing vacations I've ever had.

Posted in General at May 27 2003, 04:34:08 PM MDT Add a Comment

Vacation Rocks!

I'm home for a mere 12 hours between my New York trip and my Florida trip. Vacation has been awesome so far - and one of the best parts has been not having my laptop and therefore not try to "get things done" - as I am right now! ;-)

Hightlights (so far) have been seeing all my family, seeing Matrix Reloaded (I found myself giggling with glee during some of the fight scenes), playing in a family golf tournament, doing laps in my cousins backyard in a go-cart and going to the Yankees game yesterday with my cousin Paul. To top it all off, I found that the XDoclet team has incorporated my enhancement to allow generating Struts' Forms from POJO's. That ROCKS - Thanks Mathias!

The Apple Store called and said my laptop is finished, so I will pick it up on the way to the airport. I just hope I choose not to take it with me - vacation is so much better without it.

Posted in Java at May 19 2003, 09:40:26 AM MDT 1 Comment

I'm outta here!

VacationI leave for the airport in less than 5 hours. First I'm off to New York for my Grandpa Joe's funeral, then I fly back to Denver on Sunday and hop on a plane on Monday for vacation in Florida. I'm kindof disappointed my laptop didn't make it back from Apple in time for this trip, but it's probably a blessing more than anything.

Not having a laptop, my productivity addiction will go unsatisfied (but my stress level will subside) and I'll likely feel out of touch with Java and technology when I return. However, I hope that I turn into my old self on this trip - whom I affectionately refer to as Montana Matt. An easy-going, low-stress guy who doesn't care about much outside of family, friends and having a good time. I'd like to smile a lot, quite worrying about work, and forget about all the open source projects that need releases. I plan on laughing a lot, sleeping in every day, and tipping back a few pints with family and friends. I probably won't be reading any blogs, but I do plan on doing a little mophoto-ing.

See you in a couple of weeks - normal operations will likely resume around the end of the month.

Posted in General at May 14 2003, 10:41:31 PM MDT 2 Comments

Open Source Testing

We all know how much open source Java tools have helped us - how about open source testing tools? Opensourcetesting.org looks to be a great site for saving some cizash for your QA department (or for you when you're wearing that hat).

Opensourcetesting.org aims to boost the profile of open-source testing tools within the testing industry and give you easy access to open source testing tools from one central location. As you'll see from the tools on offer, there are some very usable, sophisticated and stable open source testing tools out there.

Posted in Java at May 14 2003, 10:50:21 AM MDT Add a Comment

Our new Tivo

Tivo Series 2 I gave Julie a Series 2 for her birthday today. We set it up and now it takes 4-8 hours while it downloads and programs itself. Pretty cool. Spendy though - the Home Media Option is another $100, and if I want broadband access (which I do), I have to buy a Wireless USB Adapter. Oh well, we figure to have it for a long, long time and we love our last one. Julie was pissed that I spent more than $50 on her birthday present, but bit her toungue because she got mad at the last Tivo I bought her and now thinks its the best birthday present ever!

On a side note, I discovered that Tivo Central Online (the site to remotely program your Tivo) is Powered By Struts - sweet!

Update: I just got the following e-mail from Julie. I guess you could say that she gives the Series 2 a thumbs down.

i think we should return tivo. i don't think it's better than the one we have now. you can view another show while recording but only if you switch the channel on the tv and watch regular tv w/out tivo. it just seems like a lot of money for no/few more options. maybe we should wait a couple years for the technology to progress.

Posted in General at May 13 2003, 09:03:05 PM MDT 1 Comment

Host your blog for free?

irth logo One of the folks that contacted me about hosting is Jason Rimmer of Irth Networks. The sweet thing about Jason's company is that they host blogs (movable type, bojsom, and roller), websites, email, etc. for not-for-profit activities and organizations. Free hosting!? What the hell?! It's true:

The operators of RhumbaNet, being completely self-taught and wanting to give something back to the community that enabled and supported their education recognized the perfect opportunity to do so. Hence, the commercial venture was shutdown and transformed into Irth Networks. [more...]

Of course this is a screaming deal - so why didn't I jump at it? For one, I feel that I should pay for hosting this site, as well as my family's site. And now that the new server seems to be humming along nicely, there's no reason to find a new provider (probably just jinxed myself there). However, I might ask Jason to host a few of the demos I have running. We'll see how this server holds up for the next few days.

Posted in Java at May 08 2003, 05:18:35 AM MDT Add a Comment

The ride home tonight.

The ride home tonight.

Posted in General at May 07 2003, 10:05:04 PM MDT 7 Comments