![]() |
|
Spaces home Patrice SecheressePhotosProfileFriendsMore ![]() | ![]() |
|
Patrice SecheressePatrice Secheresse - IT Experience
November 24 Stable version of VolunteerBaseThis version 0.6 of volunteerbase contains fixes and minor improvements, the project is now in a stable phase. The Wiki user guide has a comprehensive coverage of all the functions. The package has been upgraded to Tomcat 6.0 and the distribution can use Java 5.0 or 6.0. October 19 Volunteerbase project specifications completedWith the release 0.5, the project is now covering the initial specifications. The next big steps will be the functional tests, acceptance test and the documentation. The test by the new SPW Australia team should add some new ideas and further evolutions. October 04 Release 0.4 of VolunteerBase projectAfter a long iteration, finally the 0.4 is published. The biggest challenge was to include a reporting capability without using heavy weight framework. After some issues with JPA and iReport, I have decided to choose a simpler and well known solution with Apache Fop. The idea of xsl-format looks good. It uses the css style and is able to generate many output (html, pdf, png, RTF etc...). It's really handful to separate the content of the presentation and it gives the possibility to customize easily the report. However it's not very efficient to create rapid report with complex structure. Associated with a lack of tools and the future css3, I not sure of the future of this product. The release contains also a bunch of bug fixes. The new function is the volunteer contribution management. The features are:
The next feature in 0.5 will be an individual report to give a situation of the volunteer contributions. August 22 Volunteer Base release 0.3
This release is mainly focused on usability improvements. The iterations will deliver alternatively new functions and defect fixes. The goal is to move from a prototype (release 0.1) to a production ready software with all the functions required in version 1.0. This release includes work from Sean Melody, a new active and motivated contributor. August 08 Programmatic Login from a Stand-Alone ClientThis blog follow the previous one "Secured EJB 3.0 Web Start Application Client". Now, we want to access the same EJB without Java Web Start and we want to provide a user/login programmatically. We can use a class provided with GlassFish : ProgrammaticLogin. I assume you have done and deployed the previous project. The client part of the previous Enterprise Application is not necessary, you can skip it if you have not already done the demo. We will create a totally independent project. Create the projectCreate a new project, select Java, Projects -> Java Application and click Next. Name the project ProgrammaticLogin and click finish. Add the librariesWe need few libraries from Glassfish in order to run the project. Right click on Libraries -> Add JAR/Folder, Right click again on Libraries -> Add Project and add the EJB project Login-ejb. Login codeYou can now open the Main class and input the following code inside the main method: ProgrammaticLogin pm = new ProgrammaticLogin(); InitialContext ctx; Resolve the imports (Ctrl+Maj+F with NB 5, Ctrl+Maj+I with NB 6). Run the demoStart the application server. Before running the client, we must set the configuration in order to obtain the correct login module. We must give the JAAS config file. Right click on the project, select Properties -> Run. In VM Options, add : -Djava.security.auth.login.config=D:/JavaServers/glassfish-v2-b53/lib/appclient/appclientlogin.conf Replace D:/JavaServers/glassfish-v2-b53/ by the directory of your GlassFish serveur. Note: don't forget the - at the beginning of -Djava.sec... Click Run, you will see the 2 messages, including the message from restricted method hello(). NoteThe programmatic login can be used with Java Web Start. Just add the 2 lines in bold in the code to the previous demo and add the required libraries.
|
|
|||||||||||||||||
|
|