Archive for July, 2009

What java framework(s) to use for web application programming?

Java not in vain considered to be the language of frameworks.
Cayenne, iBatis and of course Hibernate for O/R mapping.
Spring, Guice and what else for Dependency Injection.
Spring MVC, Struts, Java Server Faces (JSF) and a few dozen else for MVC.
Google Web Toolkit (GWT) for RIA applications.

How to convert InputStream to BufferedReader

I need BufferedReader but i have InputStream.
Next code makes convertion:

How to read text file from jar

The next code works from eclipse IDE (run as java application) but is not works from jar:

BufferedReader reader = new BufferedReader(new FileReader(new File(”test.txt”)));

and this one works properly from IDE and jar:

Java Domain Driven Frameworks review

I tried to look for framework like Rails or Jango but in Java.
Below are the results: