There is a great book about testing in java using TestNG

 

Next Generation Java Testing: TestNG and Advanced Concepts

 

 

This book covers many aspects of writing tests for java applications.

 

Very recommend to read it.

 

Unfortunately there is not ebook/pdf, just paperback and kindle edition from Amazon or from safaribooksonline.com

mark 12/03/2010 - 11:45

As part of Tikal Fuse Day we (the Java group) decided to get our feet wet with JEE6. Instead of develop a whole application ourselves from scratch, we wanted to “learn by example” by taking an example, understand its code, build and run it on GlassFish and JBoss AS.

 

yanai 11/03/2010 - 20:55

 http://www.op4j.org/ 

 

from the site:

op4j (pronounced ['op-ah]is a developer happiness tool. It is a Java library aimed at improving quality, semantics, cleanness and readability of Java code, especially auxiliary code like data conversion, structure iteration, filtering, mapping, etc.

 
 
Examples of code are:
 

Set<Calendar> set =         
 Op.on(list).toSet().forEach().exec(FnString.toCalendar("dd/MM/yyyy")).get();

 

ittayd 11/03/2010 - 17:06

 

Hey Guys,

If you want to preserve data which is request specifc, I have an example for you:

 

Lets say your using pureMVC and you have a user window, and you make a request by notification and you want to remember who made that call (like the mediator name or something).

 

One way is to add the data to the asyncToken, so

 

var token:AsyncToken = service.getUsers;

toke.preservedData = {bla:bla}

 

And after the result comes,  you extract it from the ResultEvent like:

trace( event.token.preservedData );

 

~~~~~~~~~~~~~~~~

 

There is another way...

 

If you want to keep things more strictly typed, you can you a custom Responder:

 

shair 11/03/2010 - 14:47

 http://www.cs.brown.edu/people/acb/codebubbles_site.htm

 

The project suggests a new paradigm for an IDE. The IDE presents an infinite virtual desktop and pieces of information are opened as bubbles. These pieces can be methods, searches, debug inspections. The IDE interlinks them and allows to save the opened bubbles for future reference.

 

There's an 8 minute video in the link above that features the IDE's capabilities.

 

The IDE is built on top of Eclipse, so in theory it can work with any Eclipse project.

 

 

ittayd 11/03/2010 - 12:56

I am looking for a web component that allows a simple user build a query (or at least an expression / function).

 

The system have a known data schema, and the widget should allow the user to pick fields and to define an aritmetic formula based on those fileds.

 

Any recommendations? Does anyone know about a widget that can be used for that purpose?

 

Thanks, Udi

udid 10/03/2010 - 13:52
/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
    }

    public int add(int x, int y) {
        return x+y;
    }
}

 

hagzag 09/03/2010 - 18:57

I am writing Grails application and using Acegi plugin for grails application.

Acegi security seems to be determined to create SQL statement using "username" as a name of the field responsible for a username. In addition Acegi adds a few more "predefined" fields.

How can i specify different name for a username field ? and other fields ?

Thanks

tigor 08/03/2010 - 14:37

 I gave last week a talk on Non-relational databases in general & Cassandra in particular. Focussed on the advantages & cost/implications, to assist organizations in making a smart choice.

 

Posted the slides here:

http://www.slideshare.net/dibau_naum_h/nonrelational-databases-3328461

 

The last couple of slides contain links for great resources for further learning.

udib 08/03/2010 - 11:39