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 M3 Released

The AppFuse team is pleased to announce the release of AppFuse 2.0 M3! This release marks a milestone in our documentation efforts. We've completed all of the web framework tutorials and ensured that all the archetypes work properly. Turkish language support was added and native2ascii was integrated so all i18n bundles should work properly.

The major things missing from this release are code generation (AppGen) and web services (XFire) support. We hope to add both of these before the final release.

AppFuse 2.0 is available as a Maven archetype. For information on creating a new project using this release, please see the QuickStart Guide.

The 2.0 series of AppFuse has a minumum requirement of the following specification versions:

  • Java Servlet 2.4 and JavaServer Pages (JSP) 2.0
  • Java 2 Standard Platform Edition (J2SE) 5.0

For more information, please see the 2.0 M3 Release Notes.

We appreciate the time and effort everyone has put toward contributing code and documentation, posting to the mailing lists, and logging issues. We also greatly appreciate the help from our sponsors, particularly Atlassian, Cenqua, Contegix, JetBrains, Java.net and KGBInternet. Without them, working on this project wouldn't be nearly as much fun. ;-)

Posted in Java at Feb 06 2007, 02:16:45 PM MST 16 Comments
Comments:

Mat, I saw the videos and I think it's very impressive. I'm new to appFuse and I never used the idea ide before. My question is: how do you accomplish such kind of code completition? If you type Person (which shrortcut do you use?) the bean person appears... If you type something like Person.jsp the html form appears... Are them Idea facilities? Is it an appFuse application? Can you please give me a link where I can study how to do it? Thanks, Marco

Posted by Marco on February 07, 2007 at 10:06 AM MST #

funny that you cannot find the distribution downloads anywhere..

Posted by blabla on February 07, 2007 at 01:25 PM MST #

my bad, it is using maven as i see. i despise maven and it's xml files.. i will be missing ant.

Posted by blabla on February 07, 2007 at 01:34 PM MST #

Marco - the fancy "code completion" is pre-recorded code that I did with IDEA's Live Templates feature.

blabla - we're moving to Maven because it makes sense for a project like AppFuse - especially from a maintenance perspective. It's much easier to change a version number in an XML file than to add a JAR, remove a JAR and update 2-3 XML files like we did in AppFuse 1.x. The nice thing about AppFuse 2.x is we've fixed most "mavenisms" - for example, JARs not being in the central repo.

Lines of XML in AppFuse 1.x's build.xml: 1375
Lines of XML in an AppFuse 2.x pom.xml: ~500

That being said, I agree with you that Ant is an excellent build tool. For those folks who prefer Ant over Maven, there's always AppFuse 1.9.x. Since we only have a few point releases left in 1.9.x, my hope is to support it with its current features until we hit 1.9.9. That being said, there's something we can probably do for those we-can't-use-Maven folks.

1. Create a tutorial that shows how to "Build Your Own AppFuse". Because everything is modular and well-structured in Subversion, it should be easy to build your own stack - with source and such. If there's enough interested, we could create an version of AppFuse that uses Ant. However, if folks are simply using it because "I tried Maven and it sucked", I believe we can fix that problem.

2. Running "mvn ant:ant" will create Ant files for you - but I don't know if they support multi-module projects.

If we do support Ant in the future, we'll still use a dependency downloading mechanism like Ivy or Maven's Ant Tasks. One thing I think is possible (but I haven't tried) is distributing AppFuse with a "lib" directory that Maven looks in for dependencies. I've also thought about distributing my local repo after building AppFuse. Users could download, extract and be able to work immediately offline.

Then again, maybe AppFuse should be Opinionated Software. If you don't like it - don't use it. ;-)

Posted by Matt Raible on February 07, 2007 at 04:50 PM MST #

thanks for the explanations Matt, i guess i have prejudices about whole maven deal. i will test the new appfuse for some time to reach a conclusion. But somewhat i still prefer self contained projects with well prepared build files.

Posted by blabla on February 07, 2007 at 08:04 PM MST #

Hi, Would not it be nice to post a URL to find the download?

Posted by 165.254.69.190 on February 07, 2007 at 09:28 PM MST #

There is no "download" for 2.0 - you use Maven to create a new project from an archetype that we've uploaded. The QuickStart Guide has more details on how to do this.

Posted by Matt Raible on February 07, 2007 at 09:31 PM MST #

Where can I buy the appfuse bus? http://farm1.static.flickr.com/129/347357516_e7d01209de_m.jpg

Posted by Rene on February 08, 2007 at 10:14 AM MST #

I try following the quickstart, and get this as a response to creating a test project. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 94,column 31] : ${maven.test.skip} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 107,column 34] : ${jdbc.groupId} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 108,column 37] : ${jdbc.artifactId} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 109,column 34] : ${jdbc.version} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 118,column 29] : ${jdbc.driverClassName} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 119,column 31] : ${jdbc.username} is not a valid reference.

Posted by Rich on February 26, 2007 at 09:47 AM MST #

Any clue as to why my attempt at the tutorial is an abysmal failure? i get a ton of invalid references...

Posted by Rich on February 28, 2007 at 01:45 PM MST #

Rich, these are not errors, just warnings. You should see "BUILD SUCCESSFUL" at the end. I wish Maven's archetype plugin had a way of suppressing these messages, but it doesn't AFAIK.

Posted by Matt Raible on February 28, 2007 at 03:25 PM MST #

Matt: Embarrassing. It does indeed say build successful! Thanks <sheepish grin>

Posted by Rich on March 02, 2007 at 10:50 PM MST #

Hi, many thanks for your wonderful piece of software. I enjoyed very much working with the 1.9.4 version. But I do have problems creating a module with maven2 from your repository. I get the same warning messages as described already above and a "build successful" at the end, but can't get the java classes (well only one, the app.java) or the jars, there are only the filesystem structure, the properties files and some config files. Could you help me with the problem, what might I be doing wrong. Greetings from Germany, Daniel

Posted by Daniel on March 08, 2007 at 09:30 PM MST #

Daniel - I believe you'll find your answer in Where are the Java source files and JSPs in 2.x?

Posted by Matt Raible on March 08, 2007 at 09:57 PM MST #

download instruction at http://appfuse.org/display/APF/AppFuse+QuickStart is not working. The project generated by the archetype is incomplete. It only has one java file. When I look at the jar file on the =http://static.appfuse.org/releases, it has lot of java files.

Posted by 69.209.222.159 on October 16, 2009 at 02:18 AM MDT #

See the Hello World video to learn more about how AppFuse 2.x works.

Posted by Matt Raible on October 16, 2009 at 03:17 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed