Posterous

Links

Jansi: java library use ANSI codes to format console output

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.

http://jansi.fusesource.org/

Filed under  //   ansi   console   java  
Posted March 11, 2010 by email 
// 0 Comments

28 Rich Data Visualization Tools

List of 28 Rich Data Visualization Tools

http://www.insideria.com/2009/12/28-rich-data-visualization-too.html

Filed under  //   charts   flash   flex   java   javascript   ui   web  
Posted December 15, 2009 by email 
// 0 Comments

javamelody: monitoring of JavaEE applications

http://code.google.com/p/javamelody/

The goal of JavaMelody is to monitor Java or Java EE applications servers in QA and production environments. It is not a tool to simulate requests from users, it is a tool to measure and calculate statistics on real operation of an application depending on the usage of the application by users.

JavaMelody is opensource (LGPL) and production ready: in production in an application of 25 person years. JavaMelody is easy to integrate in most applications and is lightweight (no profiling and no database).

JavaMelody is mainly based on statistics of requests and on evolution charts.

It allows to improve applications in QA and production and help to:

* give facts about the average response times and number of executions
* make decisions when trends are bad, before problems become too
serious
* optimize based on the more limiting response times
* find the root causes of response times
* verify the real improvement after optimizations

It includes summary charts showing the evolution over time of the following indicators:

* Number of executions, mean execution times and percentage of
errors of http requests, sql requests or methods of business
façades (if EJB3 or if Spring)
* Java memory
* Java CPU
* Number of user sessions
* Number of jdbc connections

These charts can be viewed on the current day, week, month or year.

JavaMelody includes statistics of predefined counters (as of today http requests, sql requests and methods of business façades if EJB3 or if Spring) with, for each counter :

* A summary indicating the overall number of executions, the average
execution time, the cpu time and the percentage of errors.
* And the percentage of time spent in the requests for which the
average time exceeds a configurable threshold.
* And the complete list of requests, aggregated without dynamic
parameters with, for each, the number of executions, the mean
execution time, the mean cpu time, the percentage of errors and an
evolution chart of execution time over time.
* Furthermore, each http request indicates the size of the flow
response, the mean number of sql executions and the mean sql time.

It also includes statistics on http errors, on warnings and errors in logs and on data caches if ehcache.

An optional and independent collect server may be used if necessary to unload the application of storage management, and of reports generation and to centralize the data of clustered applications or of several applications.

Filed under  //   java   monitoring  
Posted November 19, 2009 by jetztgradnet 
// 0 Comments

Java System properties for Apple's Java

http://developer.apple.com/mac/library/documentation/Java/Reference/Java_PropertiesRef/Articles/JavaSystemProperties.html

Filed under  //   1.6   apple   java   mac   osx  
Posted November 12, 2009 by email 
// 0 Comments

YouDebug: Java program that lets you script a debug session through Groovy

Here is the problem; your program fails at a customer's site with an exception, but you can't (or don't want to) reproduce the problem on your computer, because it's too time consuming. If only you could attach the debugger and collect a few information, you can rapidly proceed on fixing the problem. But running a debugger at a customer's site is practically impossible; if the user isn't a techie, it's out of question. Even if he is, you'd still need the source code loaded up in the IDE, then you have to explain to him where he needs to set breakpoints and what to report back to you. It's just too much work.

That's where YouDebug comes into play. YouDebug is a Java program that lets you script a debug session through Groovy. You can think of it as a programmable, non-interactive debugger --- you can create a breakpoint, evaluate expressions, have it dump threads, and a lot more, without requiring any source code. Your customer can just run the tool with the script you supplied, without any knowledge about Java.

YouDebug uses the same Java Debug Interface that IDEs use, so from the point of view of your program, YouDebug behaves as a debugger. Therefore you need not do anything special with your program.

In this way, the troubleshooting of your program gets a lot easier.

http://youdebug.kenai.com/

Filed under  //   debugging   DSL   groovy   java   JDI  
Posted November 10, 2009 by email 
// 0 Comments

Thread Weaver: framework for writing multi-threaded unit tests in Java

Thread Weaver is a framework for writing multi-threaded unit tests in Java.

It provides mechanisms for creating breakpoints within your code, and for halting execution of a thread when a breakpoint is reached. Other threads can then run while the first thread is blocked. This allows you to write repeatable tests for that can check for race conditions and thread safety.

See the "Wiki" tab for a Users' Guide. For full documentation, please see the "docs" directory on the source tree, or in the main zip file on the Downloads page. The source tree also contains several examples of common race conditions, and shows how to test these using Thread Weaver.

http://code.google.com/p/thread-weaver/

Users Guide
http://code.google.com/p/thread-weaver/wiki/UsersGuide

Filed under  //   java   testing   threads  
Posted October 14, 2009 by email 
// 0 Comments

Neo4j: object graph database

Neo4j is a graph database. It is an embedded, disk-based, fully transactional Java persistence engine that stores data structured in graphs rather than in tables. A graph (mathematical lingo for a network) is a flexible data structure that allows a more agile and rapid style of development.

Licence: APGLv3/commercial

http://neo4j.org/

Presentation:
http://jaoo.dk/aarhus-2009/file?path=/jaoo-aarhus-2009/slides/EmilEifremA9m_Neo4jTheBenefitsOfGraphDatabases.pdf

     
Click here to download:
Neo4j_object_graph_database_ta.zip (229 KB)

Filed under  //   database   graphs   java   neo4j  
Posted October 9, 2009 by email 
// 0 Comments

Executable WARs with Jetty

http://eclipsesource.com/blogs/2009/10/02/executable-wars-with-jetty/

Starting a WebApplication using "java -jar myapp,jar":

 

Filed under  //   java   jetty   servlets   webapp  
Posted October 2, 2009 by email 
// 0 Comments

When optimizing - don't forget the Java Virtual Machine (JVM)

When optimizing - don't forget the Java Virtual Machine (JVM)

 http://bigdatamatters.com/bigdatamatters/2009/08/jvm-performance.html

Filed under  //   java   jvm  
Posted September 11, 2009 by email 
// 0 Comments

Tropo: cloud-based communications, Voice applications

Tropo is an application platform that enables web developers to write communication applications in the languages they already use: Groovy, Ruby, PHP, Python and JavaScript. Tropo is in the cloud, so we manage the headaches of dealing with infrastructure and keeping applications up and running at enterprise-grade. Tropo is simple to deploy, requires no contracts and no up-front setup costs. With Tropo developers can build and deploy voice and telephony applications, or add voice to existing applications.

Previously developers had to write voice applications in VoiceXML. This has left out developers who either did not want to learn VoiceXML, wanted the flexibility of working in other development languages or have been working in VoiceXML for 10 years and are ready for a change.



http://tropo.com/

Filed under  //   groovy   java   sip   tropo   voice  
Posted August 27, 2009 by email 
// 0 Comments