Guide To Simplified Java Logging using Java Core APIJanuary 17th, 2006 Java comes in with a handy logging package (java.util.logging) which eliminates the need to use external logging packages like Log4J. However it still requires some configuration which makes it cumbersome and repetitive to include in every class.
Analysis & Solution: Security Vulnerability Discovered in DWR, Open Source Java AJAX Development FrameworkJanuary 9th, 2007 Security vendor Imperva has identified an access-control vulnerability in DWR, Java Open Source AJAX development framework (stable release 1.1.3 and 2.0), which it says an attacker can use to compromise a DWR based application which may in turn enable him to say break into back-end databases or servers or launch a denial-of-service-attack. On a positive note Imperva commented that DWR, AJAX Web application development framework, is
"emerging as the lingua franca for building new generation Web 2.0 applications" :)
Forceful Method Invocation Attacks
The key issue is how DWR restricts access to not exposed class methods.
Java EE 5 (formerly J2EE 1.5) Unanimously Passes Public Review Ballot; Promises Ease of UseAugust 16th, 2005 Back to The POJO days and lots of goodies scheduled with Java Enterprise Edition 5.
Test Driving Java Studio CreatorJuly 7th, 2005 An excellent article, with screenshots, describing in details the ease of use of Java Studio Creator and JSF (using Java Studio Creator). The author is pretty impressed with the product.
Latest News in Java Software WorldAugust 16th, 2005 Summary
Java EE 5 (formerly J2EE 1.5) Unanimously Passes Public Review Ballot; Promises Ease of Use
Java 1.3.1 and 1.4.2 Release 2 DP4 for Tiger
Java Software is Carving a Niche in Critical Real-Time Applications Market
Java EE 5 (formerly J2EE 1.5) Unanimously Passes Public Review Ballot; Promises Ease of Use
JSR 244, the umbrella specification that defines what other specifications and capabilities will be included as part of Java EE 5 (formerly J2EE 1.5), public review specification was unanimously approved by the JCP EC. The theme of this release is ease of development.
How To Communicate Between Java AppletsOctober 22nd, 2007 Communication between Java applets has been an interesting topic from the early days of Java. There are several esoteric ways to communicate like using Javascript as a bridge.
Top 10 Java Features (or What Makes Java Great)May 3rd, 2006 Here is a list of top 10 java features I constantly use and highly recommend; features which makes Java great as a language and platform. JSP & Servlets - Most of java development today is arguably done on JSP & Servlets.
Top 10 Missing Java Features (or How Java Can Thrive in 21st Century)May 5th, 2006 This is a list of top 10 features missing in Java, features that I think will help Java survive and thrive in 21st century. As Java developers let's take this occassion to raise our voice and let our demands be heard.
J2SE 5: New wine in new bottle with old corkMarch 15th, 2005 J2SE stands for Java 2 Standard Edition. The 2 stands for version 2 of the platform.
How To: Open Client Socket in Java With TimeoutJune 6th, 2006 Often we need to create a (client) socket connection in java but we do not want to wait indefinitely for the connection to open. We need a way to timeout socket connections.
Java Quiz: Why StringBuilder Should be Used Instead of StringBuffer?August 23rd, 2008 First tell me what is the best way to concatenate large number of String objects? Is it a + b?
Most Java developers know not to use a + b (+ operator) because of huge performance problems, they use StringBuffer instead. In fact I did some tests in the past which confirms this folklore.
How to auto-start synergyc in Fedora / CentOS / RHEL LinuxSeptember 14th, 2009 You may find several instructions to autostart synergyc during login and after login. I had a hard time using them.
JInvite - Java Invitation APIApril 10th, 2008 JInvite is a simple Java API which makes it easy to add invite capabilities to Java - the ability for existing members of your web service to invite other members. This capability was in the early days of GMail and now widely adopted by Web 2.0 (beta) sites for limiting site load and gradually increasing capacities.
Core Java: How To Get Java Source Code Line Number & File Name in CodeSeptember 8th, 2008 While debugging code Java programmers often use System.out.println(). It is important to write separate message in each System.out.println() so you can understand from the output where the problem lies.
Java SE Goes Beta (Feature Complete). Download Now.February 17th, 2006 Java SE 6 Beta offers the first feature complete version of next major release of the Java SE platform. Sun expects to ship the final release of Java SE 6 in the fall of 2006.
April 15th, 2006 at 12:44 pm
You rely on the machine’s configured default character set when using sockets?
April 15th, 2006 at 6:49 pm
Yes, most of the time.
April 17th, 2006 at 3:39 am
Yes, but you can also extend the class and set the needed methods. In this way you can extend Socket
[code]
class MyCustomSocket extends Socket
{
….
BufferedReade getBufferedReader()
{
return new BufferedReader(new InputStreamReader (getInputStream()));
}
}
[/code]
Ok, i know is more easy ask for a extension in the standard API, but is this extension really needed? i’m not sure about that.