JasperReports tutorial for JAVA using JasperViewer to preview reports

By | September 5th, 2011|RationalPlan|Comments Off on JasperReports tutorial for JAVA using JasperViewer to preview reports

JasperViewer it is a very useful component which allows you to preview the reports from your application before saving them  as documents. It also offers additional  functionality like printing the reports, saving them with different extensions (ODT, HTML, DOC, PDF and others), navigating through out the report’s pages and zooming in or out.  This was the perfect component for fulfilling the customers request here at RationalPlan because it was very easy and straightforward to use. The tricky part and also what I consider a drawback is that if you want to customize its appearance and functionality you can not do it.

First let us try using the viewer as it is without any customizations. The class that describes the viewer is JasperViewer. Looking at the API you can see that the constructors can receive three types of components: an InputStream, a JasperViewer or a String that describes the source file. Because we use a custom data source (click to see the tutorial) to fill our reports it was very simply for us to use the already generated JasperPrint object and pass it to the JasperViewer constructor.

[sourcecode language=”java”]
JasperPrint print = JasperFillManager.fillReport(projectCalendarStream, hm, mainReportDS);
JReportsViewer jReportsViewer = new JReportsViewer(print);
jReportsViewer.viewReport(); [/sourcecode]

In the first line of code we created the JasperPrint component with the JasperFillManager and then we pass it to the constructor in order to create the report. The last line just shows up the JasperViewer dialog.

The next step is to create a customized version of the JasperViewer component to fulfill our needs. Let’s say we want to allow the users to save the reports only as a PDF document. Here is the source code for JasperReports.

[sourcecode language=”java”]
public JReportsViewer(JasperPrint jasperPrint, boolean isExitOnClose, Locale locale) {
if (locale != null) {
setLocale(locale);
}
this.isExitOnClose = false;

initComponents();

this.viewer = new JRViewer(jasperPrint, locale);
List<JRSaveContributor> newSaveContributors = new LinkedList<JRSaveContributor>();
JRSaveContributor[] saveContributors = this.viewer.getSaveContributors();
for (int i = 0; i < saveContributors.length; i++) {
if (saveContributors[i] instanceof JRPdfSaveContributor) {
newSaveContributors.add(saveContributors[i]);
}
}
this.viewer.setSaveContributors(newSaveContributors.toArray(new JRSaveContributor[0]));
this.pnlMain.add(this.viewer, BorderLayout.CENTER);
}[/sourcecode]

This is one of the constructors that we kept because we use a JasperPrint object. We have deleted the other ones because we don’t use source files or InputStreams. As you can see inside this constructor we have a list of JRSaveContributors. These contributors represent the save extensions and as already mentioned we only want to keep the PDF format. To achieve this we look for the JRPdfSaveContributor and when we find it we add it to our list of contributors. Then we set this list as the new list of contributors.

This is a minor customization but if you want other complex ones you might need to take the source code, apply your changes, create the jar and then replace the original JasperReports jar with your own.

Hope this short tutorial helps. Good luck!

RationalPlan Project Management Software 3.22 Is Available With Stronger Server Privacy Options

By | June 17th, 2011|News, Project Management Software, RationalPlan|Comments Off on RationalPlan Project Management Software 3.22 Is Available With Stronger Server Privacy Options

RationalPlan project management suite version 3.22 added support for custom roles and rights for its Project Server module and the possibility for users to work from different timezone locations world wide. More reporting capabilities, easier to use and more intuitive interface, improved Microsoft Project integration and many more useful features were added. All these also available in German and French language.

RationalPlan is a project management software that follows the general recommended guidelines from project management domain. It has been developed to help project managers keep their projects on time and within budget. RationalPlan Project Server is a better solution for those companies that need a concurrent user project management system by adding a server module that gives project managers concurrent access to a central project data repository.

Important changes added to this version:

  • Added support for rights and permissions for users on RationalPlan Project Server
  • Possibility to create custom roles
  • Added the notion of TimeZone on server
  • Translated to German and French
  • Possibility to create task details reports
  • Render special working days in resource sheet
  • Added more filters to assignments page
  • Possibility to clear history on server side
  • Store graphical interface settings for resource sheets from all Gantt views
  • Allows users to select different positions for the labels on Gantt task bars
  • Possibility to move resources up and down in the list
  • Improved Microsoft Project integration
  • Possibility to fit horizontally to visible area on Gantt chart
  • Allow setting a fixed cost and accrual on phases

Some significant improvements regarding data privacy were added to RationalPlan Project Server. Business owners have now more powerful tools to keep their projects sensible data under control. “We decided to give our customers the possibility to create custom roles and rights and the ability to assign them for each created user. This is necessary to hide certain data like costs or other project details that should be kept private.” says Gabriel Toader, CEO of Stand By Soft. The list of rights usefulness expands further so that it can be used to also restrict access to certain functionality and features of the product. A resource or a stakeholder should always have less power over a software product than a project manager.

A sensible problem for companies that work over multiple locations is the timezone variable. Time related data like dates and working hours may be perceived differently by a user from Europe as compared with a user from Asia or America. This is why a solid project management tool should correctly manage time zone differences. Other improvements were also made to RationalPlan Project Server: the possibility to clear the history of changes, more filters for resources assignments and much more.

Current version also gets translated to German and French languages. “We would like to thank to all the users that helped us in translating RationalPlan products with special thanks to Mr. Jan Hefer from Fraunhofer-Gesellschaft research organization.” says Gabriel Toader, Stand By Soft CEO.

When resources in a project work according to a special calendar it is very useful to see those special working days while controlling the worksheets. All these are possible now in RationalPlan. Special working days are displayed with a different color while in Resource Sheet. It is easy to select the corresponding resource by just clicking on those special days.

All charts but especially the Gantt chart have been redesigned to offer more flexibility in presenting and handling data. A very useful “fit to page” action was added that will help users to easily scale the charts such that to fit horizontally to the visible area. This is neded when a project is spread over a large period of time and you want to easily see an overall presentation of it without too much details. Another useful feature is the possibility to present task details near the task bars in customizable locations (left, right, center). With this feature it is possible to generate better looking reports and printouts.

Other features: task details reports were added, the Microsoft Project integration was improved with a better support for MS Project 2010 files and more changes were made regarding the input of project’s data, allowing more flexibility in managing projects and resources.

RationalPlan suite includes:

RationalPlan Single Project – project management software for single projects
RationalPlan Multi Project – project management software for multiple projects, projects that are interconnected through dependencies and share common resource
RationalPlan Project Viewer – free project management software viewer, the solution for anyone (from project stakeholders to team workers) to view projects details
RationalPlan Project Server – a centralized management of company’s projects while offering concurrent/controlled access for different users

RationalPlan Project Management Software is available at http://www.rationalplan.com. It can be download from https://www.rationalplan.com/download.php.

About Stand By Soft

Stand By Soft was founded in 1997 as a software company specialized in building desktop applications and components. RationalPlan is a project planning software that follows the general recommended guidelines from project management domain. MOOS Project viewer is aMicrosoft Project viewer that allows you to open, view in a dynamic way and print any Microsoft Project file.

Contact name: Lucian Ioan
Address: Aleea Parului, Nr.4A, Craiova, Dolj, 200346, Romania
Email: marketing@rationalplan.com
Phone: +40771610710

###

RationalPlan Project Management Software Translated To Italian Language

By | January 11th, 2011|News, RationalPlan|Comments Off on RationalPlan Project Management Software Translated To Italian Language

Starting with current version RationalPlan products are also available in Italian language. By adding Italian language support the developers from Stand By Soft hope to better serve Italian users needs for project management software and at the same time to increase the user base for their products suite.

RationalPlan is a project management application developed to assist project managers in creating plans, tracking progress, allocating resources, managing budgets and analyzing workload. It was designed as an affordable alternative to Microsoft Project with multiple projects management features and it is covering project management area from WBS construction, project planning and scheduling to critical path management, over allocated resources detection, progress tracking, cost estimation, etc. It gives the most important capabilities of a good project management software while being able to operate on various platforms starting with Windows, Mac, Linux and all other Java enabled platforms.

RationalPlan suite includes:

RationalPlan Single Project – project management software for single projects
RationalPlan Multi Project – project management software for multiple projects, projects that are interconnected through dependencies and share common resource
RationalPlan Project Viewer – free project management software viewer, the solution for anyone (from project stakeholders to team workers) to view projects details
RationalPlan Project Server – a centralized management of company’s projects while offering concurrent/controlled access for different users

The developers from Stand By Soft would like to thank to all the people that have contributed to translating RationalPlan in Italian with special thanks to Sergio Sardo from Migra Software Evolution s.r.l and Cristiano Bergoglio from Stativa.

RationalPlan Project Management Software is available at http://www.rationalplan.com. It can be download from https://www.rationalplan.com/download.php.

About Stand By Soft

Stand By Soft was founded in 1997 as a software company specialized in building desktop applications and components. RationalPlan is a project management software that follows the general recommended guidelines from project management domain. MOOS Project viewer is a Microsoft® Project viewer that allows you to open, view in a dynamic way and print any Microsoft® Project file

Contact name: Lucian Ioan
Address: Aleea Parului, Nr.4A, Craiova, Dolj, 200346, Romania
Email: marketing@rationalplan.com
Phone: +40727159969

###

Resource Leveling – Manual or Automatic?

By | December 22nd, 2010|Project Management Software, RationalPlan, Resource Management|2 Comments

Many clients contact us and ask if our RationalPlan suite has the capability to level resources. The short answer is YES. But it seems that for many project managers this short answer is not enough and the discussion continues over the type of resource leveling mechanism.

We all know that there are two possible ways to do it using a project management software: manually and automatically. And from here it starts a very long debate that appears from time to time on various places over the Internet. One such debate that I read these days happened on The Project Manager Network a LinkedIn group for project managers.

The arguments are on both sides but to me it is more than clear that the only really useful method is the manual resource leveling. It is just impossible for an application to take into account all the possible conditions and restrictions from the real world projects in order to produce good results through an automatic leveling. It is true that in certain simpler cases the results can be satisfactory but this is just good luck. No matter what project management application you use and what method you choose the project managers must always check by hand the results of a resource leveling action.

These being said and based on the answers of other project managers that I have read it seems that automatic resource leveling is not helping to much and for this reason it is not used. The preferred solution is to do it manually.

RationalPlan – a feature-packed and ergonomic project management suite

By | December 15th, 2010|Project Management Software, RationalPlan, Reviews|Comments Off on RationalPlan – a feature-packed and ergonomic project management suite

The editors from 3d2f.com published a review for our RationalPlan suite that we shall publish in this post:

If you are a project manager, you know well that the success of any project heavily depends on your ability to interpret the client’s requirements, efficiently communicate them to the team, assess risks and factor them into the cost and duration estimates, closely monitor tasks on the critical path/chain, as well as to create detailed project plans that are easy to follow and hand over to another project manager, if need be. All of the above requires a great deal of skill and knowledge, as well as reliable and easy to use PM tools. So if you’ve got everything a good PM has, but are still on the look for the right software, check out RationalPlan!

RationalPlan is a convenient project management suite covering every aspect of the typical PM process. With RationalPlan, you can keep the company’s resources and the project budget under control using built-in cost estimation and cash-flow monitoring tools, tackle such issues as delays and buffer overflows, keep track of the overall project progress using key indices and even simulate various project evolution scenarios! The program offers a wide assortment of PM tools, from Gantt charts to WBS trees, and minimizes the familiarization time with the help of a clean and intuitive user interface.

If you are seeking a project management tool that will help you get your work done more efficiently than ever, don’t miss RationalPlan!

JasperReports and iReports tutorial for JAVA using subreports with different datasources

By | December 8th, 2010|RationalPlan|Comments Off on JasperReports and iReports tutorial for JAVA using subreports with different datasources

Here at RationalPlan we are working on a way to generate reports. We chose JasperReports for Java and iReports as the graphical interface for a visual creation of the report layout. It is a daunting task because there are no tutorials which describe in detail how to create a master report with many subreports each  with their different datasource and if you want to read the documentation you have to pay for it. After accomplishing what we proposed we thought that is a good idea to share our knowledge and experience.

1. Creating the main report layout

First let’s start by opening iReport and creating the main report as shown in the figure (in this tutorial there were used the latest versions of  iReport(3.7.6) and JasperReports(3.7.6)).

main report layout

If you don’t know how to make the main report to look like this search about iReports tutorial on different search engines or post here and we shall try to help you as much as we can. After finishing it press the “Preview” button and if there are no errors in the iReport console then you can compile your report by clicking “Compile report” icon. A new file with the .jasper extension will be created in the same folder as the .jrxml file.

2. Creating the main report custom datasource

After successfully completing the first step you must create the custom datasource in your java application. (more…)

RationalPlan Project Management Software Version 3.20 Is Officially Launched

By | December 8th, 2010|Microsoft Project, News, Project Management Software, RationalPlan|Comments Off on RationalPlan Project Management Software Version 3.20 Is Officially Launched

Stand By Soft announces the new release of RationalPlan Project Management Software. The new version 3.20 comes with many new features like filters on tasks, better Microsoft Project integration, increased execution time, easier to use interface and the list continues. Plus by the end of the year RationalPlan Project Server will be offered for free to all users.

RationalPlan is a Microsoft Project alternative with additional features like multiple projects management, shared resources, email integration developed to assist project managers in creating plans, tracking progress, allocating resources, managing budgets and analyzing workload. RationalPlan Project Server is a concurrent user project management software developed to improve the existing RationalPlan suite of project management products by adding a server module that gives project managers concurrent access to a central project data repository when creating plans, tracking progress, allocating resources, managing budgets or analyzing workload.

Important changes added to this version:

  • Added filters for tasks
  • Better Microsoft Project integration including external tasks
  • Execution time improvement while in Gantt Chart view
  • Added default work-driven, fixed-units and resource forced-working values per project
  • Added new columns for tasks like ID, predecessors and successors
  • Improved the possibility to create dependencies using task IDs
  • Added new units like months and years duration and work
  • Added a User Account page and the possibility to change password into RationalPlan Project Server
  • Possibility to handle large files
  • Memory leaks fixes

At users requests the new version offers support for task filtering in Gantt Chart view and includes many types of filters. Among them it is worth to be mentioned:incomplete tasks, late tasks, tasks with deadlines, milestones, completed tasks, tasks with calendar, conflicting tasks, tasks with calendar, a.s.o.

While previous version added support for opening MS Project 2010 files in RationalPlan current version offers a better integration for external tasks. This includes representation of external tasks with gray color both on Gantt chart and in the task table. MS Project users will be able now to port their projects to RationalPlan Multi Project to see and manage them in a multiple projects software environment.

The resources now have the possibility to also filter the assignments using a late task filter. This will allow them to see all the tasks with completion date before current date that is all tasks that are late or behind the schedule. These assignments are rendered with red color to suggest the importance of these tasks. Another useful feature for resources is the ability to update the percentage completion of the assigned tasks. This way it is easier to keep the project evolution up to date since the project manager delegates the work of updating tasks completion to the corresponding resources.

Many changes where made to the application that makes working with RationalPlan more easier. Users will now have the possibility to create tasks by default as work-driven, fixed-units or to force assigned resources to work based on the calendar of the task. Also columns for ID, predecessors and successors where added for an easier tracking of the plan. The ID column is also useful when creating dependencies. Sometimes it is more easier to add predecessors or successors based on the task ID instead of its name.

Certain changes where also made to the project server product allowing users to easier manage the database: password reset mechanism, automatic version upgrade notification, etc.

Some memory leaks problems where solved and the execution time while in Gantt chart was improved allowing RationalPlan to run faster and work with larger files.

RationalPlan suite includes:

RationalPlan Single Project – project management software for single projects
RationalPlan Multi Project – project management software for multiple projects, projects that are interconnected through dependencies and share common resource
RationalPlan Project Viewer – free project management software viewer, the solution for anyone (from project stakeholders to team workers) to view projects details
RationalPlan Project Server – a centralized management of company’s projects while offering concurrent/controlled access for different users

About Stand By Soft

Stand By Soft was founded in 1997 as a software company specialized in building desktop applications and components. RationalPlan is a project management software that follows the general recommended guidelines from project management domain. MOOS Project viewer is a Microsoft® Project viewer that allows you to open, view in a dynamic way and print any Microsoft® Project file

Contact name: Lucian Ioan
Address: Aleea Parului, Nr.4A, Craiova, Dolj, 200346, Romania
Email: marketing@rationalplan.com
Phone: +40727159969

###

RationalPlan Multi Project Software Review: HPS Maintenance & Restoration

By | November 10th, 2010|Microsoft Project, Project Management Software, RationalPlan, Reviews|Comments Off on RationalPlan Multi Project Software Review: HPS Maintenance & Restoration

Tony Kramer, a senior contract manager at HPS Maintenance & Restoration, faced challenges trying to communicate complicated project details using Excel spreadsheets. At the same time, he did not have the budget to invest in a full-blown construction project management tool like Microsoft Project or Primavera P3. So Kramer scoured the Internet until he stumbled upon RationalPlan. At a cost of only £60, it was cheap enough that he could just dive in.

RationalPlan does not have all the bells and whistles of some of its more expensive competitors, but it does have all the basic features Kramer requires. For example, Kramer appreciates the ability to be able to pass detailed planning information on to his contract manager. In addition, the application makes it easy for multiple people to keep track of the status of projects without a lot of back and forth phone calls.

Kramer rates RationalPlan an 8 out of 10 and recommends the software to anyone planning medium sized jobs or who needs to send a schedule to an outside body via a PDF file.

Here is the full review for RationalPlan Multi Project.

Project Management Software From RationalPlan Is Now Compatible with Microsoft Project 2010

By | November 9th, 2010|Microsoft Project, News, Project Management Software, RationalPlan|Comments Off on Project Management Software From RationalPlan Is Now Compatible with Microsoft Project 2010

Stand By Soft is pleased to announce that its project management software suite RationalPlan is now compatible with Microsoft Project 2010. Now users will be able to integrate RationalPlan with Microsoft Project and have back and forward compatibility for 2010 generated files. Plus the new version adds the possibility to configure printed reports by adding company brand through the use of a logo and name.

RationalPlan can be considered an affordable Microsoft Project alternative with additional features like multiple projects management, shared resources and email integration developed to assist project managers from novice to experienced in creating plans, tracking progress, allocating resources, managing budgets and analyzing workload. The integration with RationalPlan Project Server also offers a concurrent project management system that will increase collaboration between users and add a more efficient solution to keep projects on time and under budget.

Important changes added to this version:

  • Added support for Microsoft Project 2010 files
  • Added work column when emailing assignments
  • Added header with company logo for printing

Besides Microsoft Project 2010 compatibility and printing customization current version also adds more details for the regular reports sent to resources by email. They will now be able to also see how much work they need to perform to accomplish the assigned tasks.

RationalPlan suite includes:

RationalPlan Single Project – project management software for single projects
RationalPlan Multi Project – project management software for multiple projects, projects that are interconnected through dependencies and share common resource
RationalPlan Project Viewer – free project management software viewer, the solution for anyone (from project stakeholders to team workers) to view projects details
RationalPlan Project Server – a centralized management of company’s projects while offering concurrent/controlled access for different users

RationalPlan is designed as an affordable alternative to Microsoft Project with some extra-features like multiproject management and it is covering project management area from WBS construction, project planning and scheduling to critical path management, over allocated resources detection, progress tracking, cost estimation, etc. It offers you the most important capabilities of a good project management software while being able to operate on various platforms starting with Windows, Mac, Linux and all other Java enabled platforms.

RationalPlan Project Management Software is available at http://www.rationalplan.com. It can be download from https://www.rationalplan.com/download.php.

About Stand By Soft

Stand By Soft was founded in 1997 as a software company specialized in building desktop applications and components. RationalPlan is a project management software that follows the general recommended guidelines from project management domain. MOOS Project viewer is a Microsoft® Project viewer that allows you to open, view in a dynamic way and print any Microsoft® Project file

Contact name: Lucian Ioan
Address: Aleea Parului, Nr.4A, Craiova, Dolj, 200346, Romania
Email: marketing@rationalplan.com
Phone: +40727159969

###

Project Management Server Solution From RationalPlan Is Officially Launched

By | October 13th, 2010|News, Project Management Software, Project Portfolio Management, RationalPlan|Comments Off on Project Management Server Solution From RationalPlan Is Officially Launched

Stand By Soft announces the official release of RationalPlan Project Server. The product is out of Beta and it is available for interested users on request. By the end of the year the server will also be offered for free to all users. Plus the new version adds useful features like online launch from browser for RationalPlan Multi Project, automatic version upgrade mechanism, more filters, updates for tasks, a short online tutorial and much more.

RationalPlan Project Server is a concurrent user project management software developed to improve the existing RationalPlan suite of project management products by adding a server module that gives project managers concurrent access to a central project data repository when creating plans, tracking progress, allocating resources, managing budgets or analyzing workload.

RationalPlan can be considered a Microsoft Project alternative with additional features like multiple projects management, shared resources and email integration.

Important changes added to this version:

  • Update tasks directly from browser
  • About information
  • Multi Project launch button on login page
  • Role column on users page
  • Online tutorial
  • Version update mechanism
  • Late task filter for assignments

With current version users get better feedback from the interface like about information, an online tutorial and the possibility to launch RationalPlan Multi Project directly from browser as a Java Webstart application. The about information lets users know different details about their server like the path to the database, version, to whom it is licensed and so on.

From this point the administrator will also be able to see the role of each user in the users table. This makes easier to manage users and licenses based on their roles. Also since it was implemented an automatic version update mechanism the process of upgrading the server is easier and the administrator has the possibility to download and install the new version without the need to contact RationalPlan team.

The resources now have the possibility to also filter the assignments using a late task filter. This will allow them to see all the tasks with completion date before current date that is all tasks that are late or behind the schedule. These assignments are rendered with red color to suggest the importance of these tasks. Another useful feature for resources is the ability to update the percentage completion of the assigned tasks. This way it is easier to keep the project evolution up to date since the project manager delegates the work of updating tasks completion to the corresponding resources.

RationalPlan suite includes:
RationalPlan Single Project – project management software for single projects
RationalPlan Multi Project – project management software for multiple projects, projects that are interconnected through dependencies and share common resource
RationalPlan Project Viewer – free project management software viewer, the solution for anyone (from project stakeholders to team workers) to view projects details
RationalPlan Project Server – a centralized management of company’s projects while offering concurrent/controlled access for different users

RationalPlan is designed as an affordable alternative to Microsoft Project with some extra-features like multiproject management and it is covering project management area from WBS construction, project planning and scheduling to critical path management, over allocated resources detection, progress tracking, cost estimation, etc. Gantt chart support as well as various time line reports are also provided. It offers you the most important capabilities of a good project management software while being able to operate on various platforms starting with Windows, Mac, Linux and all other Java enabled platforms.

RationalPlan Project Management Software is available at http://www.rationalplan.com. It can be download from https://www.rationalplan.com/download.php.

About Stand By Soft
Stand By Soft was founded in 1997 as a software company specialized in building desktop applications and components. RationalPlan is a project management software that follows the general recommended guidelines from project management domain. MOOS Project viewer is a Microsoft Project viewer that allows you to open, view in a dynamic way and print any Microsoft Project file
Contact name: Lucian Ioan
Address: Aleea Parului, Nr.4A, Craiova, Dolj, 200346, Romania
Email: marketing@rationalplan.com
Phone: +40771610710

###