bluesjava.blogspot.com
Blues in Java: Bean Definition Tip1: Avoid Circular Reference
http://bluesjava.blogspot.com/2007/10/bean-definition-tip1-avoid-circular.html
Plays soulful blues in Java world. Is it cool? Wednesday, October 24, 2007. Bean Definition Tip1: Avoid Circular Reference. One typical problem is that the bean definition circular referencing. This is the circumstance under which there are beans relying on each others instance before they could be instantiated by Spring container. Public class BeanA {. B = beanB;. Public void print(String s) {. System.out.print(s);. Public class BeanB {. Private BeanA a;. A = beanA;. Public void print(String s){. Except...
bluesjava.blogspot.com
Blues in Java: November 2007
http://bluesjava.blogspot.com/2007_11_01_archive.html
Plays soulful blues in Java world. Is it cool? Wednesday, November 7, 2007. Manageable Spring Application - enable JMX in minutes. We are keeping talking about manageability of an application. Why is it so important? Your own proprietary mechanism. Forget about option 1, smart as you, don't want invent any wheel. Well, SNMP (Simple Network Management Protocol) sounds good: standardized, bunch of tools and applications and really structured, until you dig in the details of all the ugly OID (Obejct Ide...
bluesjava.blogspot.com
Blues in Java: Manageable Spring Application - enable JMX in minutes
http://bluesjava.blogspot.com/2007/11/manageable-spring-application-enable.html
Plays soulful blues in Java world. Is it cool? Wednesday, November 7, 2007. Manageable Spring Application - enable JMX in minutes. We are keeping talking about manageability of an application. Why is it so important? Your own proprietary mechanism. Forget about option 1, smart as you, don't want invent any wheel. Well, SNMP (Simple Network Management Protocol) sounds good: standardized, bunch of tools and applications and really structured, until you dig in the details of all the ugly OID (Obejct Ide...
bluesjava.blogspot.com
Blues in Java: December 2007
http://bluesjava.blogspot.com/2007_12_01_archive.html
Plays soulful blues in Java world. Is it cool? Tuesday, December 11, 2007. Is Suns developer over smart or just stupid? Look at this code, what it will come out? Import java.text.SimpleDateFormat;. Import java.util.Date;. Public static void main(String[] args){. SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");. Date dt = null;. Dt = sdf.parse("2000999878-3454555-35344");. System.out.println(sdf.format(dt) ;. System.out.println("error");. Is this what you expected? Work around so far like:.
bluesjava.blogspot.com
Blues in Java: October 2007
http://bluesjava.blogspot.com/2007_10_01_archive.html
Plays soulful blues in Java world. Is it cool? Wednesday, October 24, 2007. Bean Definition Tip1: Avoid Circular Reference. One typical problem is that the bean definition circular referencing. This is the circumstance under which there are beans relying on each others instance before they could be instantiated by Spring container. Public class BeanA {. B = beanB;. Public void print(String s) {. System.out.print(s);. Public class BeanB {. Private BeanA a;. A = beanA;. Public void print(String s){. Except...
bluesjava.blogspot.com
Blues in Java: Is Sun's developer over smart or just stupid?
http://bluesjava.blogspot.com/2007/12/is-sun-developer-over-smart-or-just.html
Plays soulful blues in Java world. Is it cool? Tuesday, December 11, 2007. Is Suns developer over smart or just stupid? Look at this code, what it will come out? Import java.text.SimpleDateFormat;. Import java.util.Date;. Public static void main(String[] args){. SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");. Date dt = null;. Dt = sdf.parse("2000999878-3454555-35344");. System.out.println(sdf.format(dt) ;. System.out.println("error");. Is this what you expected? Work around so far like:.
bluesjava.blogspot.com
Blues in Java: OutOfMemoryError:PermGen Space: How to access local SUN 1.5 JVM JMX MBeans from command line without opening a JMX remote port
http://bluesjava.blogspot.com/2010/03/access-local-sun-15-jvm-jmx-mxbeans.html
Plays soulful blues in Java world. Is it cool? Monday, March 8, 2010. OutOfMemoryError:PermGen Space: How to access local SUN 1.5 JVM JMX MBeans from command line without opening a JMX remote port. Recently, I encountered a production server crash problem that PermGen is out of memory. The error is:. Javalang.OutOfMemoryError: PermGen space. At java.lang.Class.getDeclaredMethods0(Native Method). At java.lang.Class.privateGetDeclaredMethods(Class.java:2395). However, it will not always be the case that yo...
bluesjava.blogspot.com
Blues in Java: March 2010
http://bluesjava.blogspot.com/2010_03_01_archive.html
Plays soulful blues in Java world. Is it cool? Monday, March 8, 2010. OutOfMemoryError:PermGen Space: How to access local SUN 1.5 JVM JMX MBeans from command line without opening a JMX remote port. Recently, I encountered a production server crash problem that PermGen is out of memory. The error is:. Javalang.OutOfMemoryError: PermGen space. At java.lang.Class.getDeclaredMethods0(Native Method). At java.lang.Class.privateGetDeclaredMethods(Class.java:2395). However, it will not always be the case that yo...