iA


java

Subtle jokes on “devoxx” home page map
The devoxx home page‘s  ”google map” has some subtle jokes by Google.   Clue-less suites on Oracle Open World “Open Soon” Java Store. Java Polis, Sun in Cemetery Sunken ships – “.not” “JINI” JCP Cracked and guarded. Someone rowing away from all this in JS (Java Script?) And the best of them all – Sinking [...] Read more – ‘Subtle jokes on “devoxx” home page map’.
Google Contracts for Java
Traditionally, Java programmers enforced preconditions using explicit parameter validation code in public methods, and assertions in non-public methods. Likewise, they enforced invariants and postconditions using assertions. This approach is described in detail here. Since then, new features in Java 5 have enabled a more convenient and expressive implementation of contracts. Contracts for Java is our [...] Read more – ‘Google Contracts for Java’.
→ Large heap dump analysis with Eclipse Memory Analyzer
Jeroen Reijn (@jreijn) on his experience with heap dump analysis: One of the great things about Eclipse Memory Analyzer is that it starts indexing the heapdumps on first load. This makes the processing of the heapdump very fast and once youve parsed the entire heapdump, reopening it is a piece of cake, because it does not [...] Read more – ‘→ Large heap dump analysis with Eclipse Memory Analyzer’.
→ Dynamic Code Evolution VM
The Dynamic Code Evolution Virtual Machine (DCE VM) is a modification of the Java HotSpot(TM) VM that allows unlimited redefinition of loaded classes at runtime. The current hotswapping mechanism of the HotSpot(TM) VM allows only changing method bodies. Our enhanced VM allows adding and removing fields and methods as well as changes to the super [...] Read more – ‘→ Dynamic Code Evolution VM’.
→ Modularized Java with JBoss Modules
JBoss guys announce a new module system for Java. How does this compare with JSR 294? This simple module system has several advantages over JSR 294 as it stands today.Its available now. There is no telling when JDK modules will become available – maybe in Java 7 in 2012, maybe in Java 8 or later. This [...] Read more – ‘→ Modularized Java with JBoss Modules’.
ModeShape 2.0
The ModeShape project proudly announces that version 2.0 is now available and ready for use. ModeShape 2.0 now implements the JCR 2.0 specification (JSR-283). Specifically, ModeShape supports all the JCR 2.0 required features and most of the JCR 2.0 optional features. ModeShape 2.0 supports five query languages: the JCR-SQL2 and JCR-QOM query languages defined in [...] Read more – ‘ModeShape 2.0’.
Common Lisp vs Java
I’ve been sort of wanting to learn LISP for long time (~ 10 years). Now finally I got some chance to try that out. I’ve started reading On Lisp by Paul Graham along with Practical Common Lisp by Peter Seibel. I find them pretty invaluable in learning Lisp. It has been nearly 9 years since I’ve [...] Read more – ‘Common Lisp vs Java’.
Using Ram Disk for Maven Repository on Mac OS X
Using Maven sometimes becomes a pain for a large project. Compiling sometimes takes forever. Recently I heard a tip on our office floor that if I use a RamDisk for maven repository it may be faster. So I tried to find out easy way to setup the RamDisk on Mac OS X (Snowleopard). Here’s how [...] Read more – ‘Using Ram Disk for Maven Repository on Mac OS X’.
→ Final list of Project Coin changes for JDK 7
Project Coin got its name because it is about making “small change”(s) to the Java programming language for JDK 7. Sun’s Joe Darcy has been leading the project. In his blog post, Project Coin: The Final Five (Or So), has announced which small changes will actually make it into JDK 7. → Discussion on Artima Read more – ‘→ Final list of Project Coin changes for JDK 7’.
Debugging maven-jetty web application in NetBeans
Setup Jetty to run with Debugging enabled on port 8000 export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000" Run Jetty using Maven Plugin mvn jetty:run In NetBeans, Goto Debug→ Attach Debugger menu. Select Java Debugger(JPDA) and specify the port as 8000. Now you can debug the webapplication using NetBeans. Read more – ‘Debugging maven-jetty web application in NetBeans’.