InfoQ

News

Rapid web development with J2EE Spider

Posted by Ian Roughley on Mar 12, 2008 01:53 PM

Community
Java
Topics
Artifacts & Tools ,
Open Source
Tags
Java EE ,
Code Generation

J2EE Spider is a new open source tool for rapidly developing form-based web applications.  The objectives of J2EE Spider are simple:

Generating codes whenever you want, with whatever you want and however you want.

When allow us to generate codes not only in the beginning of the project, but also to perform an incremental build. This concept of successive builds uses merge whenever necessary so that it won't lose customizations that may have been done in the code.

With what is the flexibility in the choice of frameworks. This allows the developer to decide which technologies will be part of the generated code, taking advantage of his/her team's know-how. In the future, it is intended to allow the generation with the greatest possible number of frameworks.

How allows us to alter the generation code template so that the generated code will be as similar as possible to the development methodology of each team. It is also possible to add new resources to the standard code generation in an easy and simple way.

Key features of J2EE Spider include:

  • Visual interface for generating code
  • Integration with Eclipse
  • Incremental builds
  • Round-trip engineering
  • Generated code is Internationalized
  • Code generation using templates
  • Supports multiple frameworks
As well as being able to provide custom page templates for your applications, new technologies can be integrated as necessary.  However, for "out of the box" functionality the following  technologies are provided:
  • Web frameworks: Struts, JSF and Mentawai ( Brazilian web application framework)
  • Dependency Injection Containers: Spring
  • O/R Mapping: Hibernate
  • Page Templates: SiteMesh and Facelets
At the moment the documentation is limited.  The best source of information is through several screencasts.  These demonstrate the features in action and are available in several formats:

The minimum requirements to use J2EE Spider in your projects is Java 5, Eclipse (with WTP), a JEE or Servlet container and the J2EE Spider plug-in.  More information, as well as the download location for the plug-in, can be found at the J2EE spider website http://www.j2eespider.org.

2 comments

Reply

How does it compare to Sculptor? by Andrew Swan Posted Mar 18, 2008 5:19 PM
Re: How does it compare to Sculptor? by Bruno Braga Posted Mar 23, 2008 9:42 PM
  1. Back to top

    How does it compare to Sculptor?

    Mar 18, 2008 5:19 PM by Andrew Swan

    Looks interesting. Could you please compare and contrast it to Sculptor?

    fornax-platform.org/cp/x/aAQ

    There's always more than one tool for a job, and it's good to have some basis on which to choose between them.

    Cheers,

    Andrew

  2. Back to top

    Re: How does it compare to Sculptor?

    Mar 23, 2008 9:42 PM by Bruno Braga

    Hi Andrew,



    I never used the Sculptor, but it seems to be a tool based on models - Model-Driven Development (MDD). The SPIDER is another concept. I will try to explain the differences.



    In SPIDER you don't need to create diagrams and has no dependency on the tool if you want to change the code. The SPIDER helps you to create the code of your project and after create the files it have a person as owner: the developer. The SPIDER don't need to maintain any regular sync with the code. You can continue your project manually... after a few weeks can use the SPIDER again for new Use Case.

    SPIDER doesn't have the dependency between code and tool, the two are completely independent. If half of the project you decide not to use more the SPIDER, ok. You can do this.



    Some other similar tools has some manual steps as: many commands maven or interface via prompt (DOS) using only commands (example: AppFuse). The abstraction of SPIDER is higher and doesn't need to know or learn anything to use the tool... It is much easier and allows more features eg choose layout (skin) visually - do this in a prompt would be bad.



    The facilities of SPIDER allow you to create projects much faster than with MDD tools or tools based on commands.

    The quality will also be good because the generated code is based on templates. You can use your template with the customizations you want.



    The UML diagram and documentation are important, but we don't need it to configure project or create CRUDs. The SPIDER is more agile and can create code (as you want) without using the concept of MDD, then you save time.

    In my opinion MDD is important (for example) for modeling a system and create it in several different technologies. If your system has only one technology (JEE), MDD is not necessary or not adds many advantages. So the SPIDER is not a MDD tool.



    www.j2eespider.org/cnf/display/EN/Comparative














Exclusive Content

Ruby.rewrite(Ruby)

In this RubyFringe talk, Reginald Braithwaite writes Ruby code to read, write, and rewrite Ruby. Demos include extending Ruby with conditional expressions, call-by-name and more.

Book Except and Interview : Aptana RadRails, An IDE for Rails Development

Aptana RadRails: An IDE for Rails Development by Javier Ramírez discusses the latest Aptana RadRails IDE, a development environment for creating Ruby on Rails applications.

Fast Bytecodes for Funny Languages

Cliff Click discusses how to optimize generated bytecode for running on the JVM. Click analyzes and reports on several JVM languages and shows several places where they could increase performance.

Scott Ambler On Agile’s Present and Future

Scott Ambler, Practice Lead for Agile Development at IBM, speaks on the current status of the Agile community and practices having a look at the perspective of the Agile’s future.

Manager's Introduction to Test-Driven Development

Dave Nicolette and Karl Scotland try to introduce non-technical managers to one of the most popular Agile development techniques: Test-Driven Development (TDD).

Structured Event Streaming with Smooks

Smooks is best known for its transformation capabilities, but in this article Tom Fennelly describes how you can also use it for structured event streaming.

How to Work With Business Leaders to Manage Architectural Change

Successful architectures evolve over time to meet changing business requirements. Luke Hohmann presents how to collaborate with key members of your business to manage architectural changes.

Colors and the UI

In this article, Dr. Tobias Komischke explains how colors used in a GUI can influence our interaction with a computer and offers advice on using the appropriate colors for the interface.