Hi JSP enthusiasts,

Theseus is a MVC framework some of you may be interested in using. It is
very similar to Struts (Craig after all is my mentor!), but in some ways
different. While Struts provides a full-featured package, Theseus is very
small and not nearly as full of features. Its purpose is to provide the same
MVC capability that Struts does (a single controller servlet calls upon
action classes to handle each request, then forwards to a JSP page), but in
a much smaller package...only the bare-bones to get MVC to do its stuff is
included. Struts provides a full tag-lib library, Theseus does not include
any tag-libs. It adds to the size of the jar and I figured there were plenty
out there for use that developers can download. I have not followed up on
Struts 1.0, so Struts may have added a lot of what Theseus does. Theseus
does not include international support. Theseus.jar is 16K in size. It
provides auto-population of nested objects, not just the javabean used by an
action. It now has indexed auto-population, where by you can provide an
index in a form element to be auto-populated. For example:

<input type="text" name="MyBean_Contact+1_FirstName">

which results in the method getMyBean.getContact(1).setFirstName(value)
where MyBean is an object in the bean associated with the action that the
JSP form will be submitted to.

I just added a scope attribute so that beans can be request, session or
application scope. This should be matched by the scope used in a JSP page.

By adding an xsl="/path/page.xsl" to the <forward..> tag of an action in the
xml config file, instead of forwarding to a JSP page, the JSP page will be
read in and the XSL page will be applied to it using XSLT.

Mulitple config files can be used to allow better separation of a projects
configuration of actions. We utilize this where I work to separate our
employee admin site from our production site into two config files.

A few things I will be working on soon:

1) Multiple beans per action
2) Web Services SOAP request/response support, effectively turning your
Theseus application into a full Web Services server while maintaining the
ease of development of action methods.

You can get Theseus from:

http://www.brainopolis.com/theseus

Documentation is scarce..still working on that. Examples are also scarce and
I will be working on adding Orion app server and Tomcat examples using EJB.

We have a small mailing list at:
mailto:[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to