public marks

PUBLIC MARKS from jpcaruana with tags java & programmation

April 2007

StrutsTestCase for JUnit

by 2 others (via)
StrutsTestCase for JUnit is an extension of the standard JUnit TestCase class that provides facilities for testing code based on the Struts framework. StrutsTestCase provides both a Mock Object approach and a Cactus approach to actually run the Struts ActionServlet, allowing you to test your Struts code with or without a running servlet engine. Because StrutsTestCase uses the ActionServlet controller to test your code, you can test not only the implementation of your Action objects, but also your mappings, form beans, and forwards declarations. And because StrutsTestCase already provides validation methods, it's quick and easy to write unit test cases. StrutsTestCase is compliant with the Java Servlet 2.2, 2.3, and 2.4 specifications, and supports Struts 1.2, and Cactus 1.6.1 and JUnit 4.0. Please note that StrutsTestCase is no longer backwards compatible with Struts 1.0. The last release compatible with Struts 1.0 is StrutsTestCase v2.0.

March 2007

CruiseControl Home

by 8 others (via)
CruiseControl is a framework for a continuous build process. It includes, but is not limited to, plugins for email notification, Ant, and various source control tools. A web interface is provided to view the details of the current and previous builds. CruiseControl is distributed under a BSD-style license and is free for use. CruiseControl adheres to an open source model and therefore makes the source code freely available. CruiseControl is maintained and developed by a group of dedicated volunteers.

SourceForge : Project Home

by 1 other
JasperReports is a powerful open source Java reporting tool that has the ability to deliver rich content onto the screen, to the printer or into PDF, HTML, XLS, CSV and XML files. It is entirely written in Java and can be used in a variety of Java enabled applications, including J2EE or Web applications, to generate dynamic content. Its main purpose is to help creating page oriented, ready to print documents in a simple and flexible manner.

Guimbo Framework

Guimbo est un framework qui permet de développer des applications web en Java. Il s'adresse aux développeurs désireux de rendre leurs applications robustes, maintenables et évolutives.

February 2007

Jakarta POI - Java API To Access Microsoft Format Files

by 1 other (via)
The POI project consists of APIs for manipulating various file formats based upon Microsoft's OLE 2 Compound Document format using pure Java. In short, you can read and write MS Excel files using Java. Soon, you'll be able to read and write Word files using Java. POI is your Java Excel solution as well as your Java Word solution. However, we have a complete API for porting other OLE 2 Compound Document formats and welcome others to participate.

Cobertura

by 1 other (via)
Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.

XSLT transformation from a servlet

The question how to create HTML output to the browser from a Servlet based on XML data often comes up. Here's a fully functional example on how to achieve this using Jakarta Xalan 2 and Xerces 2. The system is quite simple, most of the code is concerned with housekeeping chores rather than the actual HTML generation and output.

XSLT Servlet - A Java Servlet that transforms XML documents

This servlet transforms an XML document using an XSLT stylesheet. Probably there are other Servlet implementations of this kind, but I couldn't find one with the features I need available under an Open Source license, so I wrote this one.

January 2007

Grails - Home

by 4 others (via)
Grails aims to bring the "coding by convention" paradigm to Groovy. It's an open-source web application framework that leverages the Groovy language and complements Java Web development. You can use Grails as a standalone development environment that hides all configuration details or integrate your Java business logic. Grails aims to make development as simple as possible and hence should appeal to a wide range of developers not just those from the Java community.

November 2006

O'Reilly — La nouvelle stratégie de Java

Java et .NET répondent à des besoins différents. Java est largement adopté dans le monde des entreprises, mais ses capacités multi-plateforme ou ses possibilités d’intégration au sein des pages Web demeurent encore sous-exploitées. Avec l’arrivée de Java 6, Sun modifie de façon nette sa stratégie, afin de s’adapter au mieux aux demandes des développeurs.

AJAX et Struts par l'exemple - Julien Carnelos Blog

(via)
On trouve aujourd'hui beaucoup de références sur le net sur AJAX ( XmlHTTPRequest en réalité ) mais peu d'éléments sur l'intégration de AJAX sur le framework Struts. Concernant les ressources francaises sur le sujet, c'est quasi inexistant en recherche sur Google. Je me suis donc décidé à écrire ce petit article technique. Attention, cet article n'explique pas réellement le fonctionnement de la technologie AJAX mais plutôt de son intégration avec le framework Struts.

Direct Web Remoting- Easy AJAX for JAVA

by 7 others (via)
DWR allows Javascript in a browser to interact with Java on a server and helps you manipulate web pages with the results.

Struts best practices - Java World

by 1 other (via)
The article discusses the following main points: * Screens with dynamic fields * Safeguarding JSP pages * Error categorization * Validation of service requester * Application security * Prepopulation * Stack maintenance (for bread crumbs) * Context-related problems * Form-bean scope * Data transfer object implementation * Exceptions * Action chaining

Enterprise Java Community: Redirect After Post

(via)
All interactive programs provide two basic functions: obtaining user input and displaying the results. Web applications implement this behavior using two HTTP methods: POST and GET respectively. This simple protocol gets broken when application returns web page in response to POST request. Peculiarities of POST method combined with idiosyncrasies of different browsers often lead to unpleasant user experience and may produce incorrect state of server application. This article shows how to design a well-behaved web application using redirection.

openjacob

Open-jACOB is a Java rapid application development tool (RAD) based on Eclipse that enables the development of Rich Internet Applications (RIA) that are entirely based on Java. An Open-jACOB based application can be deployed as a stand alone application (.war) in a Web container like Jakarta-Tomcat. Alternatively, it may also be deployed as a jacapp Application within the jACOB Application server, profiting from the more advanced management features of the Open-jACOB container.

www.romaframework.org

(via)
Roma Meta Framework is a Open Source initiative to make Java application development easy. The approach is totally DDD, let's think to the domain of your application and Roma will makes the rest: persistence (database), presentation (HTML + Ajax), logging, user management, sessions, etc. The Roma project is composed of two parts: * Wizards to generate code automatically * Runtime libraries that works as a glue code to integrate you application with the best Java technologies and products (Spring, JDO 2.0, Echo2, Log4J, etc.)

MyJavaServer

by 3 others
serveur d'applications J2EE gratuit.

October 2006

September 2006