Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Development
    • Development
    • Servers

    Open-Source Framework Means Happy Trails for Java Developers

    Written by

    Darryl K. Taft
    Published March 24, 2006
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      LAS VEGAS—Chris Nelson said he found developing in Java was just too hard, so he decided to do something to make it easier. Now hes about to deliver on it.

      Nelson, an independent developer and director of the Cincinnati Java Users Group, is the founder of the Trails framework, a new open-source framework aimed at making Java easier for developers.

      Some might call Nelson a flatterer, as imitation is considered the finest form of flattery and Trails gets some of its notions from the popular, though non-Java, Ruby on Rails framework. But Nelson said Trails was simply “inspired” by Ruby on Rails but is not a Java-based clone of it.

      “Developing J2EE [Java 2 Platform, Enterprise Edition] is just too hard,” Nelson said in a talk at TheServerSide Java Symposium here on March 23. “Things like Hibernate, Spring, etc., make it easier, but its still too hard. Ruby on Rails raises the bar,” he said.

      However, that leaves three choices: “Switch to Ruby on Rails, suffer, or make Java better,” Nelson said.

      Nelson noted that aside from frameworks such as Spring, other methods also have been used to simplify Java development, but they, too, fall short.

      He said typical RAD (rapid application development) tools may look slick, but they do not generate a real domain model, they dont scale up in complexity, they require manual user interface design, and they dont leave the developer with a solid architecture.

      /zimages/4/28571.gifClick here to read more about Ruby on Rails.

      Code generation is another example of a method to simplify development, but “thats a lot of code,” Nelson said. “What if you want to change it? You still have to maintain it. Model-driven architecture [MDA] takes this approach. It tends toward complexity.”

      The solution is domain-driven development, which is developing an application with a rich domain model. You can “develop the domain model and have the rest of the app be automagically created,” Nelson said, adding that domain-driven development is another name for object-oriented development.

      “Trails is a domain-driven development framework inspired by Ruby on Rails, but is not a port of Rails.”

      Indeed, Trails started as an experiment, with Nelson asking, “What can Java learn from Rails?”

      Nelson said Trails brings all the pieces together. It uses Hibernate for persistence, Tapestry for component-oriented Web MVC (model-view-controller), Spring for dependency injection and Acegi for security.

      “Dont reinvent; integrate the best solutions,” Nelson said. He called Trails a “metaframework; a framework of frameworks.”

      Nelson said he has a 0.9 version of Trails ready this week, but the 1.0 version should be ready for beta in May for the JavaOne conference.

      His goal is to get Trails as mature as possible and then start to support other frameworks, possibly JavaServer Faces with Facelets, he said.

      Future directions for Trails include instance-based security, support for method invocation, more documentation and more demos, Nelson said.

      The Trails project can be found at here.

      /zimages/4/28571.gifCheck out eWEEK.coms for the latest news, reviews and analysis in programming environments and developer tools.

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×