Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Tools

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Programming

Bugs are inevitable. Even after you thought you have finished coding your work, another bug creeps in, making you want to wish the bugs were real tangible objects that you could squish with your bare hands. Being a developer, you should be armed with the right weapons to battle bugs for they come almost all the time. In fact, they are building yet another Death Star. If you don't get vigilant,...
on Oct 24, 2012
Acceptance Test Driven Development (ATDD) is a method wherein business stakeholders, analysts, testers and developers collectively specify and agree on what needs to be completed in the project. Requirement specifications are set and verified even before actual development starts. This ensures that only those value-adding features are delivered to the business. Instead of validating after the...
on Oct 21, 2012
Earlier this October, I was given the privilege of speaking at JavaOne regarding the fusion of contemporary Continuous Delivery processes and practices with the established and widely-accepted Maven release process. I spoke in detail about the similarities as well as the main differences, and how these techniques and methodologies can be combined to deliver iterations and releases that highlight...
on Oct 18, 2012
I hate adding lots of huge multi-JAR all-purpose common libraries to rather small projects! Huge footprint just for a single class is a side effect of many popular frameworks, unfortunately, due to rather coarse-grained modularity. So I started to publish some of my commons (LPGL'ed) code as single-class self-contained artifacts on The Maven Central Repository. You simple need a Range<T>...
on Sep 7, 2012
Earlier versions of VisualLangLab required the user to specify an alphanumeric name for all tokens. This made it difficult to understand rules using tokens without intuitive names. A good example is the rule infixOp from a Java grammar in Figure-1 below. Figure-1. Rule with non-intuitive token names While PLUS and MINUS have good mnemonic value, many users will not understand TILDE and BANG. And...
on Jun 20, 2012
In this article we coax the JVM's Rhino (an elusive, misunderstood, and ignored member of the ecosystem) into a mind meld, giving it access to the JVM's thoughts, experiences, memories, and knowledge; and take it where no Rhino has gone before ! Let me set the context with some quick code: ScriptEngineManager sem = new ScriptEngineManager(); ScriptEngine jsEngine = sem.getEngineByName("...
on Jan 25, 2012

JavaOne

During the recent JavaOne conference, I was able to share how developers can put their Java codes up a notch by using functional programming and clean coding practices. Functional Programming puts the spotlight on what we want to get out of our codes rather than how we are going to execute them. With this in mind, codes are relatively easier to understand and are less error prone, due to the fact...
on Oct 20, 2012

Community

Behavior-Driven Development (BDD) is all the buzz now. To contribute to the increasing buzz BDD has been creating, I'm heading off to the Canberra JUG meeting next week to give a talk about it. BDD is a communication and collaboration process that aims to deliver what is only value-adding to the business. It is a process of establishing a common language between the business stakeholders and the...
on Oct 17, 2012
JCertif 2012 Call for Papers Now Open -- http://www.jcertif.com! As some of you already know. The next edition of JCertif is coming and will take place on September 03th-09th in Brazzaville, Congo. If you have an interesting presentation idea, we want to hear from you! We invite you to share your Java experiences with the industry and community by submitting a proposal for this far from the «...
on Jun 6, 2012

Education

Next week holds a lot of exciting events for me at Canberra. Aside from delivering a talk on Behavior-Driven Development for the Canberra Java Users Group, I will also be conducting the Agile Java Development Practices workshop. If you want to learn how to write effective tests and better your code, produce high quality applications, know the latest on agile development tools and practices, and...
on Oct 17, 2012
The VisualLangLab API documentation now includes a Clojure companion for the existing Java client example. Unlike other parser-generators, VisualLangLab does not generate any code. Instead, it turns its visually depicted rules (or grammar-trees, see figure below) directly into a parser instance at run-time. These parsers are accessible via the API from programs in any JVM language....
on Jul 3, 2012
Boyer-Moore (BM) Overview According to Wikipedia, the Boyer-Moore algorithm "is an efficient string searching algorithm that is the standard benchmark for practical string search literature. It was developed by Robert S. Boyer and J Strother Moore in 1977. The algorithm preprocesses the string being searched for (the pattern), but not the string being searched in (the text). It is thus well-...
on May 21, 2012

Performance

In this post I introduce Samplr: an open source, intelligent sampling profiler that can be embedded in any Java application for automatic identification of performance bottlenecks Tools of the Trade If you read the Developer Power story in the July/August issue of Oracle Java Magazine, you already know that I love VisualVM. It is the best tool I know for inspecting the inner workings of a...
on Aug 6, 2012

GUI

How many lines of Java do you need to create the following JavaFX application? (Answer: About 30, as seen in Hello World, JavaFX Style) And how many lines of (http://fxjs.java.net/) would you need? (Answer: See below) {T: fxStage, title: 'Hello World!',  scene: {T: fxScene, width: 300, height: 250,    root: {T: fxStackPane,      children...
on Aug 3, 2012
VisualLangLab now has a Java7 (JDK7) grammar!  Read on to find out how you can use the grammar to locate usages of the new Java7 (project coin) language features in the source-code of the Oracle JDK 7u3 itself. If you are new to VisualLangLab (an easy-to-learn-and-use parser-generator) condsider reading the tutorial A Quick Tour. Java7 (JDK7) Grammar Specification The Java7 (JDK7)...
on Mar 3, 2012

Databases

Release the newest version of the framework to persist objects in Apache Cassandra in easy way. Among improvement is the JPA annotations, also JPQL.   JCassandra jCassandra=persistence.createJCassandra("select * from Person"); List<Person> persons=jCassandra.getResultList(); table 1: sample using JPQL in Easy-Cassandra Easy-Cassandra 1.0.8 Easy-Cassandra 1.0...
on Apr 21, 2012

Testing

This blog lists the tips, tricks and answers to some of the commonly asked questions on Embedded GlassFish. This list is not sorted in any order. As I recalled I just listed them out here, and will add more as I come across more tips n tricks. Which version of Maven is supported by Embedded GlassFish Maven Plugin? org.glassfish:maven-embedded-glassfish-plugin supports Maven 2 and Maven 3 (4.0-...
on Mar 19, 2012
This blog describes how to configure org.glassfish:maven-embedded-glassfish-plugin for deploying more than one application. There was a community request for this. Refer: http://java.net/projects/glassfish/lists/users/archive/2012-02/message/382 http://stackoverflow.com/questions/9280413/maven-embedded-glassfish-plugin-deploying-2-applications The following pom.xml snippet shows how to configure...
on Mar 18, 2012

Accessibility

                 Easy-Cassandra is a framework ORM API and a high client for Apache Cassandra in java, with this is possible persist information from the Java Object in easy way. For this is only necessary add some annotations in some fields and your class. It works like an abstraction's tier in the Thrift, doing call for Cassandra. The Easy-Cassandra...
on Feb 21, 2012

Tools

I think that Maven is a great tool for development. But it can be used for more. For instance, I've just prepared things so that starting from a clean room you can try out my lightweight CMS, NorthernWind, by just invoking a couple of commands. They will install and run NorthernWind, an embedded server and an example site. More information at the NorthernWind blog.
on Jan 23, 2012