Dobromir Zahariev's Personal Page
Dobromir Zahariev Home Java Workshop Online Projects Pics Useful Links
 
Tool Name
Notes
Source
Package
Package
JFrame Framework
JFrame is Model View Controller Model2 framework for Web based applications written in Java language. It is very simple and emphasis on security and stability. Because of it simplicity this framework can be used and for studying purposes.
Download source Download jar package
Package
JFrame Generator
JFrame Generator is tool that generates web based applications by the rules of JFrame framework. It uses Velocity as template engine. Code that is generated is ready for deployment and use.
Download source Download jar package
Package
Framework
This is sample framework to build web applications based on JSP, Servlet and JavaBeans technology. Implemented pattern is Model View Controller with Action Handlers, Connection Pool and Dispatcher. This framework is very easy to use - I build it only by my needs. I hope you find this tool usefull.
How to use it: In app.cfg file you must describe jdbc connection, action handlers and view handlers (JSP). I use this framework with Tomcat Servlet container and it work realy fast and stable.
For now I dont support EJB, Sessions and UserManagement - but I hope to implement and this tasks soon.
Download source Download jar package
Package
Mail System
This is very useful tool to work with Sun's JavaMail package. In jar file are included current version of JavaMail and JAF. You can use JavaMail directly, but if you use MailSystem once you will love it.
How to use it: In 'src' I put very easy example.
Download source Download jar package
Package
JSP optimizer
This tool is useful to remove unneded symbols in one JSP page.
If one JSP produces 100kb HTML page. This page must reach the clients with connection speed up to 2 kb/s. This mean 50 seconds. One part of page content is not vieweble from the client - like white spaces between tags, HTML comments, tabs, new line symbol. This symbols are up to 8-10% from the page size. This mean that if you remove them the client will recieve 8% less or 92 kb HTML page. This will take 8% less time - 46 sekonds.
For now is tested on WinXP platform, but there are no reason to not work on UNIX (linux) platforms.
How to use it:
java -jar JSPOptimizer.jar --basepath c:\projects\my_project\jsp --resultpath c:\tomcat\webapps\my_project
to see help screen:
java -jar JSPOptimizer.jar --help
or
java -jar JSPOptimizer.jar
Download source Download jar package
Package
TOGenerator
This tool is creating Transport Objects with get and set methods for each field. One year ago I write each Transport Object on hand and this is cost to me about 2 hours to transport object with 10 fields to prepare get, set, compareTo, toString methods and to write corect comments. Changes in this objects are more dificults later, when database, or logic are changed. With this tool You only need to write XML file describing Transport objects in several packages. Everyting else is work which is done by this tool. Now writing Transport object with 10 fields cost to me less than 2-3 minutes - all time is used to prepare XML description of this object.
How to use:
#>java -jar TOGen.jar --xml TOGen.xml
Where TOGen.xml is objects descriptor. In src package I include example with the same name. In this directory tool creates new packages with files.
Download source Download jar package
Package
Class Complete
Open Tool for JBuilder (tested on 4 and 7). Creating Get and Set methods, constructor initalised all fields and toString method returning all fields values.
To Install: copy in $JBUILDER_HOME$\lib\ext folder and restart JBuilder.
To Use: when describe in class all fields select from menu Tools/Class Complete, select all fields in list box, check Get-methods, Set-methods, Constructor and toString check boxes and press Create buton.
Download source Download jar package
Package
jpegManipulation
This tool creates HTML page based on template which content images stored in some sirectory. Tool is making fixed size images (thumbnails) and connect them to original pictures.
How to use:
#>java Resize -imageDir /dirWithImages
I include example with in the package. HTML page design can be modified - just change teplate, but include necessary tags.
Download source Download jar package
This design is inspired from Sun Microsystem