Wednesday, November 30, 2005

JBossDruid

JBossDruid: "JBossDruid

Created by Ronaldo Nascimento, JBossDruid helps you create a Container Managed Persistent (CMP) Enterprise JavaBean (EJB) source code and deployment descriptors for JBoss EJB Container.
SourceForge Logo"

freshmeat.net: Project details for EJBCreator

freshmeat.net: Project details for EJBCreator: "EJBCreator generates Enterprise JavaBeans source code based on simple input from the user. It is able to generate source code skeletons for Entity beans, Session beans, Session Synchronized beans, Message-driven beans, Value objects, primary keys, Ant build files, JUnit TestCases, and ejb-jar.xml files. EJBCreator doesn't depend on a specific J2EE application server, since all code is generated based on the Enterprise JavaBeans specification standard."

SQL 2 JAVA

SQL 2 JAVA

itymbi ...: UML Sequence Diagram Sketches

itymbi ...: UML Sequence Diagram Sketches: "UML Sequence Diagram Sketches

Look here for the latest developments and releases of SEQUENCE.

As part of working on the design on MBlog I've been producing quite a few UML Sequence diagrams. I started out sketching these by hand which is quick, apart from the constant erasing and redrawing, but does make it difficult to publish them on the web. I then tried using the OpenOffice.org draw program. However, I found I was spending more time making the drawing look pretty than expressing what I wanted. Next I looked at ArgoUML but with that tool you have to enter a lot of information that isn't needed for a simple sketch before you can get any diagram. Finally I decided that it would be simpler to produce my own simple took."

Wednesday, November 16, 2005

Dwarf

Dwarf: "Dwarf Mail Server - product overview
Dwarf Mail Server is a full-featured mail server developed on the Java? platform, implementing SMTP, POP3 and IMAP4rev1 protocols.
It provides support for rich application message processing via pluggable mail filters and agents, as well as full handling of virtual domains for the SMTP/POP3/IMAP4 protocols, and is free of charge for the binary redistribution.
Since the server is based on the Dwarf framework, it also shares its common design principles and features - simplicity, high modularity and extensibility, authentication and authorization, XML-based configuration, logging and remote management.
Features

* ESMTP, POP3 and IMAP4rev1 implementation
* application logic layer provided by mail filters and agents
* virtual mail hosts in SMTP/POP3/IMAP4 server
* application-independent authentication and authorization
* sample JSP-based webmail interface"

Announcing IBM WebSphere Application Server Community Edition

Announcing IBM WebSphere Application Server Community Edition

IBM WebSphere Application Server Community Edition - Available now!

IBM introduces a new addition to the IBM WebSphere Application Server family. IBM WebSphere� Application Server Community Edition, Version 1.0 is a lightweight Java? 2 Platform, Enterprise Edition (J2EE) application server built on Apache Geronimo, the open source application server project of the Apache Software Foundation. It is designed to help you accelerate your development and deployment efforts by offering technology that is quick, easy to download, and free to use! Harnessing the latest innovations from the open-source community, WebSphere Application Server Community Edition provides a readily accessible and flexible foundation for building Java applications.


Why Choose IBM WebSphere Application Server Community Edition

Key features:

* J2EE 1.4 certification (with support for IBM and Sun JDKs)
* Eclipse plug-in for creating, deploying, and debugging your applications
* Support for Apache Tomcat
* Integrated IBM Cloudscape database for supported use in development and production
* Database support for Oracle, Microsoft SQL Server, and MySQL
* Runtime customization
* User management
* Centralized configuration and control through administrative console (tech preview)
* Migration aids from Apache Geronimo and Apache Tomcat
* Convenient access to product binaries and source code

Write a Standalone Java Application Without a Main Method

Write a Standalone Java Application Without a Main Method: "Write a Standalone Java Application Without a Main Method
Normally, you need a main method in a Java class if you want to run that class from the command line. However, there is a little trick that allows you to run one without a main method:


class NoMainMethod
{
static
{
System.out.println('Look ma! no main method');
System.exit(0);
}
}

The reason this works is that static initialization blocks get executed as soon as the class is loaded?even before the main method is called. As soon as the block exits, it will look for the main method. When it doesn't find it, it throws an exception?so the statement exits the program before the exception is thrown."

Tuesday, November 15, 2005

Jpcap dependent DLL-files.com - wpcap.dll, free download

DLL-files.com - wpcap.dll, free download: "Here you can download wpcap.dll free of charge. The file is compressed so you need an unzip software in order to use the file. We recommend you to use ExpressZIP. We also recommend you to read the tutorial how to unzip and install the files. If your problem isn't solved, we offer Live Computer Support with a low-cost montlhy subsciption plan starting at $7.40/month.
Use the link below to start downloading wpcap.dll."

Screenshot of project JFtp Java network Browser

freshmeat.net: Screenshot of project JFtp

DocBook XSL Transformations

Chapter?2.?Extensions

Example 2.2. Enabling the extensions from the command line

To enable the extensions from the command line, you need to pass the use.extensions parameter to your XSLT engine. Here's an example of how to do that with Saxon:

java com.icl.saxon.StyleSheet filename.xml docbook/html/docbook.xsl use.extensions=1 > output.html

and here's an example of how to do it with Xalan:

java org.apache.xalan.xslt.Process -IN filename.xml -XSL docbook/html/docbook.xsl -PARAM use.extensions 1 -OUT output.html

Sunday, November 13, 2005

Cobertura

Cobertura: "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.
Features

* Can be executed from ant or from the command line.
* Instruments Java bytecode after it has been compiled.
* Can generate reports in HTML or XML.
* Shows percent of lines coveraged and branches coveraged for each class, package, and for the overall project.
* Shows the McCabe cyclomatic code complexity of each class, and the average cyclomatic code complexity for each package, and for the overall product.
* Can sort HTML results by class name, percent of lines covered, percent of branches covered, etc. And can sort in ascending or decending order."

Bekannte Java-Open-Source Software

Bekannte Java-Open-Source Software

Bekannte Java-Open-Source Projekte

Es gibt es viel zu entdecken. Die Java-Standard-API reicht heute nicht mehr aus. Diese Sammlung von Links listet in meinen Augen gute und sinnvolle quelloffene und lizenzfreundliche Erg�nzungen. Insbesondere f�r zus�tzliche Swing-Komponenten habe ich eine extra Seite zusammengestellt. Neben den n�tzlichen Java-Erg�nzungen gibt es eine Liste mit n�tzlichen Tools f�r Windows.

In Klammern steht hinter dem Projekt die Lizenzform. Die meisten sind GPL, LGPL, BSD, Apache und Common Public License (CPL).

Software Entwicklungsumgebung (IDEs)

* Eclipse (Eclipse Public License (EPL). Wichtige Entwicklungsumgebung. Project 3.1 Plan
* NetBeans (als GUI-Builder)
* XDoclet (BSD). Code-Generierung, etwa f�r EJBs Home-/Reme-Interface oder auch f�r Hiberante Mapping Dateien
* weitere IDEs...

XML/HTML

* Xerces Java Parser (Apache). Neben Sun's Crimson ein schneller Parser
* JDOM (Apache). Sch�ner Zugriff auf XML-Dokumente. XPath-M�glichkeit
* XOM. XOM 1.1b.
* Streaming API for XML (StAX) und Woodstox sind Pull Parser. StaxMisc (LGPL) hat ein StaX-Parser f�r JDOM
* Digester (Apache). Teil aus Jakarta Commons zum Einlesen von XML-Konfig-Dateien, (Tutorial 1)
* Apache Axis (Apache). SOAP-Aufrufe
* XML-RPC (Apache). Java-Implementierung von Apache f�r XML-RPC
* XStream (BSD). Serialisierung in XML-Dateien ohne explizites Mapping. (Tutorial 1, 2, 3)
* TagSoup (Academic Free License/GPL). Parser f�r HTML nach dem SAX-Prinzip. Korrigiert Tag-Fehler
* CyberNeko HTML Parser (Apache). Korrigierender HTML-Parser

Web/Java EE/Applikations-Server

* Apache Jakarta Tomcat (Apache). Referenzimplementierung f�r Servlets/JSP
* Jetty:// (Apache). Weiterer Servlet-Container. Ausgezeichnet f�r Embedded-Server
* JBoss (LGPL). Freier Java EE-Stack, der die Java EE 1.4-Spezifikation umsetzt. JBoss zeigt auch die ersten Ans�tze, wie EJB 3 funktionieren kann.
* Geronimo (Apache). Kommender Java EE-Stack von Apache
* ActiveMQ (Apache). JMS 1.1 Implementierung. (Viele andere L�sungen, wie OpenJMS, setzten nur die 1.0-Spezifikation um.) ActiveMQ ist auch die Messaging-L�sung in Geronimo.

Tag-Libs

* Cewolf (LGPL). Charts �ber JFreeChart aufbauen
* Jakarta Taglibs Project (Apache). TagLib etwa f�r Request, Response, JMS, ...
* Display tag library (Artistic). Tabellen aufbereiten
* OSCache (Apache kompatibel). Caching von JSP-Content, Servlet Response oder beliebigen anderen Objekten

Web Frameworks

* Struts (Apache). MVC-Konzept f�r's WEB
* Cocoon (Apache). XML-Inhalte �ber XSLT transformieren
* Turbine (Apache). MVC-Framework
* WebWork (Apache). Application Framework
* Spring (Apache). In erster Linie ein IoC-Container
* MyFaces (Apache). Implementierung der JavaServer Faces Spezifikation (JSR 127)

Testen

* JUnit (Common Public License). Das bekannteste Framework zum Testen von Java-Anwendungen
* JUnit-addons (Apache). Framework, das u.a. Klassen zum Vergleichen von Listen, Dateien anbietet
* HTTPUnit (Eigene Lizenz). Testen von Web-Applikationen. Tutorial
* DbUnit. JUnit-Erweiterung zum Testen von Datenbankzust�nden
* Cactus (LGPL). Testen von Server-seitigen Komponenten (Servlets, EJBs, Tag Libs, Filters, ...)
* FindBugs (LGPL). Automatisches Finden von Bugs. Auch als Eclipse-Plugin
* Lint4j (Propriet�r). Auffinden von Unregelm��igkeiten
* Hammurapi (GPL). Automatische Code-Reviews
* HTTPTracer (Apache). HTTP-Proxy
* Cobertura (GPL). Code-Coverage auf der Basis von jcoverage.

Performance

* Eclipse Profiler Plugin (CPL). Messen von Ausf�hrungszeiten
* JMeter (Apache). Lasttests nicht nur f�r HTTP, auch f�r JDBC, SOAP, ...
* P6Spy (Apache-�hnlich). Abfangen, Loggen und Modifizieren von JDBC-Anweisungen
* Ehcache (Apache). Caching Framework. Wird zum Beispiel in Hibernate eingesetzt

UML

* ArgoUML (BSD). UML-Tool. Bisher kein Plugin f�r Eclipse, wobei eine externe Gruppe daran arbeitet

Persistenz/XML-Binding

* Hibernate (LGPL). Beliebter OR-Mapper und Basis von JBoss f�r seine Persistenzschicht. Aktuell in der Version 3.0
* Castor (Exolab License, wie BSD). XML-Binding
* Prevayler. Persistenz durch Serialialsierung

Datenbank/DB-Browser

* C-JDBC (LGPL). Cluster-L�sung. C-JDBC ist ein JDBC-Treiber, der auf mehrere Knoten verteilt
* MySQL (GPL). Bekannteste Open-Source DB
* hsqldb (Propriet�r). RDBMS-Implementierung in Java, besondern interessant f�r Embedded-Anwendungen
* Xindice (Apache). Native XML-Datenbank
* SQuirreL (LGPL). SQL Client
* ozone (LGPL). Objekt-Datenbank

Dokumente, GUI, Reports, Grafik

* winlaf Home (BSD). Korrigiert Unsch�nheiten unter Windows XP Swing Look and Feel
* Batik (Apache). Einlesen, Verarbeiten und Anzeige von SVG-Grafiken
* JasperReport (LGPL). Report-Tool wie Crystal Reports. Minianleitung
* iReport. Visueller Designer f�r JasperReport
* DataVision (GPL). Auch ein Reporting Tool
* iText (MPL und LGPL). Generieren von PDF (Kurzbeschreibung). Dazu ist ist Printing component aus den UJAC praktisch: hier beschreibt man das Dokument in XML.
* POI (Apache). Zugriff auf MS Datei-Formate. Excelling in Excel with Java
* Java Excel API (LGPL). Alternative zu POI f�r Excel-Tabellen
* gef (BSD). Weiteres Java Graph Editing Framework (hat nichts mit Eclipses GEF zu tun)
* BrowserLauncher (keine/frei). Starten eines externen Browsers
* jhighlight (LGPL). Bibliothek zur Farbhervorhebung von Java, HTML, XHTML, XML und LZX mit dem Ausgabeformat XHTML
* JDesktop Integration Components, JDIC (LGPL). Unter anderem: Browser von Windows/Unix plattformneutral aufrufen. Kurzbeschreibung
* Fold n' Drop (Lizenz unklar). Umbl�ttern mit visuellen Effekten
* Spin (LGPL). Threading-Framework. Webseite stellt das dem Worker gegen�ber
* XML-Gui Abbildungen: Thinlet (GLPL), SwiXml (Apache-�hnlich), gui4j (GLPL).

Eine eigene Unterseite listet alternative Gui-Komponenten f�r Swing auf.

Build-Management/Installer

* Ant (Apache). Das Standard-Buildtool
* JSmooth (GPL). Bauen von ausf�hrbaren Daten unter Windows
* Maven (Apache). Projekt-Management
* CruiseControl. �berwachen/Automatisieren vom Build

Projektplanung/-managing

* XPlanner (LGPL). Planung von XP-Projekten
* TUTOS (GPL). Webanwendung zur Projektplanung

Bug-Tracking

* ITracker (GPL). Tracking-System auf der Basis von Java EE
* Scarab (BSD). Tracking

Dateisystem/Netzwerk

* Jakarta Commons/Net (Apache). Java-Pakete f�r Internet-Protokolle FTP, NNTP, SMTP, POP3, Telnet, TFTP, Finger
* Directory Poller (LGPL). Schaut in gegebenen Intervallen nach Ver�nderungen im Verzeichnis
* jpcap (Mozilla Public Licence). Fangen von TCP/IP Paketen
* cajo (LGPL). Kooperation zwischen mehreren virtuellen Maschinen

Sonstiges / Freeware

* Velocity (Apache). Kein Web-Framework, aber oft genutzte Template-Engine f�r Web-Anwendungen
* BCEL (Apache), ASM (BSD), Javassist (MPL und LGPL). Generieren von Bytecode zur Laufzeit
* cglib. Nutzt generierten Bytecode f�r Proxies und Weiteres
* Log4j (Apache). Logging
* Quartz (BSD-�hnlich). Job scheduling system
* Jawin (Propriet�r). Aufrufen von COM-Komponenten. Somit ist zum Beispiel eine Steuerung von MS-Office m�glich
* Jad 1.5.8e. Ein Java Decompiler. Nicht Quelloffen! Ein visuelles Frontend ist etwa FrontEnd Plus. (Jad ist hier integriert.)
* LimSee2 (Propriet�r) Ein SMIL 2.0 Authoring-Tool
* ROXES ANT Tasks (GPL). Erweiterte Tasks f�r Ant, um etwa auf die Windows Registry zuzugreifen
* Radeox (Apache). Wiki-Renderer
* Java Service Wrapper (Propriet�r). Java-Programme als Windows-Services oder Unix Daemon ausf�hren

Links

* freshmeat.net
* SourceForge.net
* BerliOS - The Open Source Mediator
* Java-Source.net

Friday, November 04, 2005