If the J2SE platform has come a long way in internationalization, entering non-ASCII text in the J2EE world isn’t nearly as easy.
To achieve the same result you have to make some changes in your code and in your web server settings.
Firstly, to make sure that the right value in the Content-Type header precedes the text/html content so your browser correctly auto-detects the right encoding, place the following declaration at the beginning of the JSP:…
The news article from InfoQ:
This morning Sun officially released Java 6 for download after over two years of development. The Java 6 development cycle has been the most open of any Java release with weekly builds available to the public and extensive collaboration between Sun and over 330 external developers. Sun has worked with over 160 companies to ensure backwards compatibility, stability and optimum performance of applications running on the JVM.…
It’s finally here as you can see in Free and Open Source Java.
The key behind moving to the GPL is to drive more volume and more adoption for the platform. The GPL helps get Java into some markets that it hasn’t served as fully as it should - such as educational markets, governments in the developing world, and some commercial customers - as well as, obviously, some distributions of Linux which insist not on Linux-friendly licenses but on actual GPL licensing.…
If you have ever tried to draw gantt charts with JFreeChart you have already noticed that it’s a very simplistic implementation - it doesn’t have the facility to display dependency lines or milestones.
Gantt chart demo from JFreeChart samples:
In a recent project I needed some additional features like:
Summary tasks Milestones/deliverables Dependencies between task and milestones/deliverables So I modified BarRenderer.java, GanttRenderer.java, GanttCategoryDataset.java, Task.java, and TaskSeriesCollection.java appropriately and also created my own class called LineAndShapeGanttRenderer.…
The first development build (2.0.1) of Apache Struts 2 project has been released.
Struts 2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts 2. This new version of Struts is designed to be simpler to use and closer to how Struts was always meant to be. Some key changes are:
Smarter! Improved Design - All Struts 2 classes are based on interfaces.…
Great news for embedded devices developers. Eclipse has recently released the embedded Rich Client Platform (eRCP) 1.0.
eRCP is for J2ME what RCP is for the desktop, and includes among other things
Eclipse Core which provides OSGI and Extension Point Framework support a version of SWT called embedded Standard Widget Toolkit (eSWT) eJFace a set of classes which enable eRCP applications to integrate with an eRCP workbench, and provide more complex widgets like MVC oriented viewers eUpdate for dynamically updating device software and microXML a smaller, faster XML parser supporting SAX and DOM API eRCP currently support Windows Mobile 2003/5.…
After reading the great article Deploying BIRT from Jason Weathersby I decide to create a little example on how to use BIRT Report Engine API (RE API) with Apache Struts framework.
Tribix 2.1.0 final - Extended emitters for BIRT (Business Intelligence and Reporting Tools) provides a set of extended emitters for BIRT 2.1.0 final or above.
It comes along with a PPT (MS PowerPoint) emitter preview release. You can now export all your reports made with the BIRT Reporting System to Excel, or even preview them in PowerPoint.
This version does support fixed-column-width sheet output and image export to Excel which are great news since my last post about Reporting Tools.…
Problem - You want to use the last Hibernate 3 (Object to Relational Mapping Solution) with a code generation tool that automatically generates your Hibernate descriptor files, and build your project with an advanced build tool like Maven2.
Maven is a popular open source build tool for enterprise Java projects; it can manage a project’s build, reporting and documentation from a central piece of information (POM file).
XDoclet is an open source code generation engine with the goal of continuous integration. It enables Attribute-Oriented Programming for java. It uses custom JavaDoc-like tags to generate external resource files to support the main Java classes. XDoclet has mainly been used for the auto-generation of EJB descriptors (and related J2EE container technologies).
XDoclet2 is a rewrite of the XDoclet engine. It allows you to use Hibernate 3 features, Java5 language features in your model POJOs, and has substantially better error reporting than XDoclet.
JBoss Seam 1.0, an application framework for Java EE 5 based on Asynchronous JavaScript and XML(AJAX), Java Serve Faces(JSF), Enterprise Java Beans(EJB3), and other technologies, has been released.
Read more in JBoss SEAM 1.0: rethinking web application architecture at InfoQ.
The Seam project is proud to announce the release of JBoss Seam 1.0 GA, an application framework for Java EE 5. Seam aims to be the most productive platform for development of enterprise and rich internet applications in any programming language.…