Projects tagged ‘java’ and ‘lightweight’


[50 total ]

47 Users
   

The iBATIS Data Mapper framework makes it easier to use a database with Java. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor. Simplicity is the biggest ... [More] advantage of the iBATIS Data Mapper over object relational mapping tools. [Less]
Created over 3 years ago.

11 Users
   

Roma is an Open Source initiative to make Java application development easy. The approach is totally DDD: let's think to the domain of your application and Roma will make the rest: persistence ... [More] (database), presentation (HTML + Ajax), logging, user management, sessions, workflow, scheduler, etc. Roma is a Meta Framework namely a tool that aims to remove dependencies between your application code and frameworks and tools you use. This allows you to change the technology at zero cost without any changes to your application code. Roma is also a MDA implementation since takes its concepts and philosophy but it's totally based on POJOs without to learn other micro languages and complex standards. [Less]
Created over 2 years ago.

5 Users

OVal is a pragmatic and extensible validation framework for any kind of Java objects (not only JavaBeans). Constraints can be declared with annotations (@NotNull, @MaxLength), POJOs or XML. ... [More] Custom constraints can be expressed as custom Java classes or by using scripting languages such as JavaScript, Groovy, BeanShell, OGNL or MVEL. Besides field/property validation OVal implements Programming by Contract features by utilizing AspectJ based aspects. This for example allows runtime validation of method arguments. [Less]
Created over 2 years ago.

2 Users
   

DrJava is an integrated Java development environment that supports interactive evaluation of expressions. It is under active development by the JavaPLT research group at Rice University, but it is ... [More] also stable and is currently being used by students, teachers and other developers. A Java 2 v1.3-compliant Java virtual machine is required. [Less]
Created over 3 years ago.

1 Users

This project cames from Xuefeng's book "Spring 2.0 Core Technology and Best Practice" which is a completely ready-to-run example of JavaEE web application based on Spring framework. This online ... [More] bookstore web application based on light-weight Spring framework, integration of Acegi, Hibernate, XFire, Velocity, OSCache, Compass and Lucene. Snapshot: [Less]
Created about 1 year ago.

1 Users

Simple to use library that handles a lot of things for you.
Created over 3 years ago.

1 Users
 

Express4J was designed to provide a very lightweight, browser-like pure Java environment allowing to build highly interactive user interfaces for applets and stand-alone applications alike.
Created over 2 years ago.

1 Users
 

JSMin Ant Task A custom task for Apache Ant which acts as an interface to the JSMin program. About JSMin "JSMin is a filter which removes comments and unnecessary whitespace from javascript ... [More] files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation." Excerpt from Douglas Crockford's JSMin page Description The JSMin Ant task acts as an interface to the JSMin Java class. The task can be used for the automated minification of javascript files in your build and deploy processes. Specify destination directory option. Suffix minified files option. Support for nested filesets Tested with Apache Ant 6.5+. Please let us know if the task works [Less]
Created about 1 year ago.

1 Users

OverviewMinLog is a Java logging library. Key features: Low overhead Logging statements below a given level can be automatically removed by javac at compile time. Simple and efficient The API is ... [More] concise and very efficient at runtime. Extremely lightweight The entire project consists of one Java file with just over 100 non-comment lines of code. The JAR is 2.6kb (2kb with pack200). UsageMessages are logged using static methods: Log.info("Some message."); Log.debug("Error reading file: " + file, ex);A static import can be used to make the logging more concise: import static com.esotericsoftware.minlog.Log.*; // ... info("Some message."); debug("Error reading file: " + file, ex);While optional, for brevity the rest of this documentation assumes this static import is in place. If log statements from different libraries or areas of an application need to be differentiated, a category can be specified: info("some lib", "Some message."); debug("some lib", "Error reading file: " + file, ex);Log levelSetting the level will log that level, as well as all higher levels: Log.set(LEVEL_INFO);The levels are: LEVEL_NONE disables all logging. LEVEL_ERROR is for critical errors. The application may no longer work correctly. LEVEL_WARN is for important warnings. The application will continue to work correctly. LEVEL_INFO is for informative messages. Typically used for deployment. LEVEL_DEBUG is for debug messages. This level is useful during development. LEVEL_TRACE is for trace messages. A lot of information is logged, so this level is usually only needed when debugging a problem. Conditional loggingThe current log level can be checked before the message is logged: if (ERROR) error("Error reading file: " + file, ex); if (TRACE) { StringBuilder builder = new StringBuilder(); // Do work, append to the builder. trace(builder); }Checking the log level before calling the logging method is optional, but prevents unnecessary method calls and string concatenation for log levels that are disabled. Fixed logging levelsMinLog users can choose from the regular "minlog.jar" or from from a JAR file like "minlog-info.jar" which has a fixed logging level that cannot be changed at runtime (calls to Log.set() have no affect). During compilation, any conditional logging statements below the fixed level will be automatically optimized away by the Java compiler. Please see OverheadAndComparisons for more about the overhead when using MinLog with/without conditional logging and with/without a fixed logging level. The document also compares the MinLog overhead with log4j and java.util.logging. Output customizationThe default logger outputs messages in this format: time level: [category] messageWhere "time" is the time elapsed since the application started. For example: 00:00 TRACE: [kryo] Wrote string: moo 00:00 TRACE: [kryo] Wrote object: NonNullTestClass 00:01 TRACE: [kryo] Wrote string: this is some data 00:01 TRACE: [kryo] Compressed to 7.97% using: DeflateCompressor 00:12 TRACE: [kryo] Decompressed using: DeflateCompressor 00:12 TRACE: [kryo] Read string: this is some dataThe output can be customized: static public class MyLogger extends Logger { public void log (int level, String category, String message, Throwable ex) { StringBuilder builder = new StringBuilder(256); builder.append(new Date()); builder.append(' '); builder.append(level); builder.append('['); builder.append(category); builder.append("] "); builder.append(message); if (ex != null) { StringWriter writer = new StringWriter(256); ex.printStackTrace(new PrintWriter(writer)); builder.append('\n'); builder.append(writer.toString().trim()); } System.out.println(builder); } } // ... Log.set(new MyLogger());Using this mechanism, log messages can be filtered (eg, by category), written to a file, etc. [Less]
Created 3 months ago.

1 Users
 

Vaniglia is a Java library composed of a number of lightweight, very specific, and performance oriented java components. Currently the following components are implemented: - Command Protocol - ... [More] Crypto - Extensions Framework - RollingFileDailyFolderAppender for Log4J - RollingFileFoldersBackupAppender for Log4J - Parser - Performance Monitor - Polling - Objects Pool - Socket Communication Framework - State Machine - Template Engine - Text Table - Time Utilities - Vaniglia Message Queue [Less]
Created over 3 years ago.