JDK7 offers whole set of new exciting features…….. Following is the compact list of JDK7 new feature Swing The JLayer class has been added, which is a flexible and powerful decorator for Swing components; see How to Decorate Components with JLayer. The Nimbus Look and Feel has been moved from the com.sun.java.swing package to the …
Category Archive: Java
Java Articles
Permanent link to this article: http://www.javaplex.com/blog/what-new-in-jdk7/
Sep
05
Hibernate – How to use database’s reserved keywords in HQL and Pojos?
1. Enclose the column name with square brackets [] will solve your problem. @Column(name = “[ORDER]“, nullable = false) public String getOrder() { return order; } And for Hibernate XML Mapping <property name=”Order” type=”string” > <column name=”[ORDER]” length=”128″ /> </property>
Permanent link to this article: http://www.javaplex.com/blog/hibernate-how-to-use-databases-reserved-keywords-in-hql-and-pojos/
Aug
25
What’s New in Java Enterprise Edition 6
Following the revised and updated JSRs that are part of Java EE 6 specification. JSR 316: JavaTM Platform, Enterprise Edition 6 (Java EE 6) Specification JSR-250: COMMON ANNOTATIONS FOR THE JAVA PLATFORM JSR-315: JAVA SERVLET 3.0 JSR-311: JAVA API FOR RESTFUL WEB SERVICES (JAX-RS) JSR-299: CONTEXTS AND DEPENDENCY INJECTION FOR JAVA JSR-303: BEAN VALIDATION 1.0 …
Permanent link to this article: http://www.javaplex.com/blog/whats-new-in-java-enterprise-edition-6/
Aug
05
Java JSON Libraries for Serialization & Deserialization of Java Objects
Convert Java Object to XML and Convert XML to Java Object If you task is to do serialization by converting Java Objects to XML, and XML to Java Objects then you really need a library to serialize objects to XML and back again. Because doing these things manually can really panic and may tons of …
Permanent link to this article: http://www.javaplex.com/blog/java-json-libraries-for-serialization-deserialization-of-java-objects/
Jul
26
Java EE Project Tempaltes for kick starting projects
If you are starting new Java EE project and want to use standard template and based on best practices to make project architecture, then you should visit and checkout SVN repository of “ScratchMonkey“. ScratchMonkey is set of standard project template. They did the job very well and share the source code which can be checkout …
Permanent link to this article: http://www.javaplex.com/blog/java-ee-project-tempaltes-for-kick-starting-projects/
Jul
25
Using Atmosphere for comet, websocket and REST Web Services
What is Comet? Comet is technique to refresh the web browser from server push without refreshing the page. Comet is known by several other names, Ajax Push Reverse Ajax Two-way-web HTTP Streaming HTTP serv See the following very good presentation on Comet and WebSocket understanding. What is WebSocket? The WebSocket specification—developed as part of the …
Permanent link to this article: http://www.javaplex.com/blog/using-atmosphere-for-comet-websocket-and-rest-web-services/
Jul
21
Tomcat OutOfMemoryError
Tomcat server sometime will hit the following java.lang.OutOfMemoryError: PermGen space error. By default, Tomcat assigned very little memory for the running process, you should increase the memory. How to fix it? Open the Server tab in Eclipse and double click the Tomcat server to open Server Configuration. In Server Configuration, click on the Open Launch …
Permanent link to this article: http://www.javaplex.com/blog/tomcat-outofmemoryerror/
Jul
19
Vaadin: The GWT Development Framework
Vaadin is GWT development framework which facilitate the RIA rapid development. Vaadin is a web application framework for Rich Internet Applications. Vaadin is a large collection of UI components. Vaadin is a robust architecture for rapid application development. Vaadin’s recent release 6.6 with GWT 2.3 adds “touch support” which means you can add touch support …
Permanent link to this article: http://www.javaplex.com/blog/vaadin-the-gwt-development-framework/
Jul
18
Project Skelton based on Extjs, Strtus, Spring and Hibernate
If you decided to start java web project with UI framework with backed Spring and Hibernate. It also bundled with Extjs which have amazing rich UI components and AJAX support out of the box. Some guys, created a skelton project based on above specs and open sourced it on google code repositry with name “MICRITE”. …
Permanent link to this article: http://www.javaplex.com/blog/project-skelton-based-on-extjs-strtus-spring-and-hibernate/
Jul
18
Java IO Toosl for Stream Wiring and File Format Detection
If you are dealing with files, stream and extension and want to speed up your work then there’s handy open source project at Google Code named io-tools. io-tools further divide into two sub projects EasyStream and WazFormat. EasyStream is a natural extension of Apache commons-io, providing advanced solutions to some common but not trivial problem. …
Permanent link to this article: http://www.javaplex.com/blog/java-io-toosl-for-stream-wiring-and-file-format-detection/

