Share

Option ZERO

Project News for Option ZERO

  • OzStruts 1.8.1 is Released

    1.8.1 introduces "formFactoryClass" and "factoryMethod" to plug any kind of bean factory. There is no fixed spring bean factory any more.

    Tak

    2008-06-04 14:27:36 UTC by tak-yoshida

  • OzJpetstore 2.0 is released

    OzJpetstore 2.0 (actually 2.0.1) is released to show how to apply OzStruts and Spring in real application with OzStruts' best practice that makes your code much simpler and maintainable.

    Now there is no difference in programming model between OzStruts' sample and OzJpetsore.

    Please download 2.0, and compare to 0.9, you will see the huge difference in programming model, even both use OzStruts and Spring, and please stop downloading 0.9 version from now, because the code and programming model is very complex.

    2.0 is truly a real web application sample, including:
    * OzStruts best practice is applied
    * PRG (Post Redirect get) pattern is allpied

    Todo list for 2.x
    * Tiles
    * Replace iBatis PagenatedList with pagenatedQuery
    * Eliminate presentation.model package to simplify programming

    Please see how easy you can create java web application with OzStruts + Spring.

    2007-05-27 15:52:51 UTC by tak-yoshida

  • OzStruts 1.8 released

    OzStruts programming gets more simple!!!

    1. Spring integration for FoemBean (OzPage) creation
    2. URL based FormBean (OzPage) Locator
    3. Defauilt action assignment

    With these, struts-config only defines action-mapping, which contains "path" attribute and "<forward>" element only. This makes struts-config more simple and readable.

    And Spring integration gives us a freedom of configuration of OzPage reference resolution.

    Please read README.txt for the setting.
    I hope this would help your project success.
    Tak

    2007-04-21 16:14:59 UTC by tak-yoshida

  • OzStruts 1.7.0.1 released

    1. Now OzStruts works with Tiles.
    If you don't want to use tile, please keep TilePlugin entry in struts-config.xml with dummy tiles xml.
    (setup in struts-config.xml)
    <plug-in className="org.apache.struts.tiles.TilesPlugin">
    <set-property property="moduleAware" value="true"/>
    <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
    <!--<set-property property="definitions-config" value="/WEB-INF/dummy-defs.xml"/>-->
    <set-property property="definitions-parser-validate" value="true"/>
    </plug-in>

    2. Also, OzPageRequestProcessor handles FileUploadException and max length. Please find setup in struts-config.xml and example code in tilespractical package.
    (setup in struts-config.xml)
    <controller processorClass="net.sourceforge.optionzero.ozstruts.OzPageRequestProcessor">
    <set-property property="maxFileSize" value="10K"/>
    </controller>

    (example code in TPUploadTextFilePage.java)
    if (OzPageRequestProcessor.hasFileUploadException(getRequest())) {
    logger.fatal("FileUploadException!");
    throw new Exception("FileUploadException");
    }

    if (OzPageRequestProcessor.hasFileUploadExceededMaxSizeException(getRequest())) {
    logger.fatal("FileUpload Exceeded MaxSize!");
    throw new Exception("FileUpload Exceeded MaxSize");
    }

    This release is verified on struts 1.1 only.

    Tak

    2007-04-14 23:28:20 UTC by tak-yoshida

  • OzFaces 1.3 Released

    OzFacesPage's method invocation cycle is very clear and easy to understand.

    OzFaces 1.3 is improved with refactoring OzFacesPage interface and OzFacesPageSupport abstract class to represent OzFaces lifecycle more clearly, and help session data handling with name space. With these, OzFaces application code gets more clean and readable.

    Also, OzFaces method calling cycle (action listener and directRenderListener) is compatible with portlet (ActionRequest and RenderRequest), so you'll find out the no difference from regular web applicaiton code and portlet code with OzFaces.
    This is another benefit of OzFaces.


    2007-03-03 19:31:36 UTC by tak-yoshida