CATEGORIES

Wednesday, November 7, 2012

Java Magazine, November/December 2012 Issue

Eigth issue of the Java Magazine is available. If you have a subscription, you can start reading the digital issue now.

Java Magazine is a free bi-monthly digital magazine and is all about Java technology, the Java programming language, and Java-based applications.

The highlight of the current issue is Agrosense Project, a modular farm management system for precision agriculture.


TABLE OF CONTENTS


COMMUNITY
From the Editor
Java Nation
JCP Executive Series: Q&A with Mike Milinkovich

JAVA IN ACTION
Growing on Open
An Engine for Big Data

JAVA TECH
New to Java: Can You Teach Testing to Beginners?
Java Architect: Exploring Lambda Expressions for the Java Language and the JVM
Rich Client: JavaFX in Spring
Mobile and Embedded: Wirelessly Recover Your Device's Address Book
Mobile and Embedded: Get Started with Java SE for Embedded Devices on Raspberry PI
Polyglot Programmer: Building Actor-Based Systems Using the Akka Framework
Fix This



Also check out: Sample Code and Projects in Java Magazine


Cover
- 09/10 2012 -
Cover
- 07/08 2012 -
Cover
- 05/06 2012 -
Cover
- 03/04 2012 -
Cover
- 01/02 2012 -
Cover
- 11/12 2011 -
Cover
Premiere

Thursday, September 27, 2012

Java Magazine, September/October 2012 Issue

Seventh issue of the Java Magazine is available. If you have a subscription, you can start reading the digital issue now.

Java Magazine is a free bi-monthly digital magazine and is all about Java technology, the Java programming language, and Java-based applications.

The highlight of the current issue is Duke's Choice awards and Gosling's Liquid Robotics,one of the Duke's choice winner project.


TABLE OF CONTENTS

COMMUNITY
From the Editor
Java Nation
JCP Executive Series: Q&A with Ben Evans

JAVA IN ACTION
Java At Sea
Duke's Choice Awards

JAVA TECH
New to Java: Learning About Object Orientation with BlueJ
New to Java: Introduction to Web Service Security from Server to Client
Java Architect: Looking Ahead To Project Lambda
Java Architect: Inside the Java HotSpot VM 2: Statistics for Performance Analysis
Java Architect: New File System APIs in NIO.2: A Walkthrough
Enterprise Java: Java EE Connector Architecture 1.6
Mobile and Embedded: Payment API—Getting Started with JSR 229
Mobile and Embedded: Oracle Berkeley DB Java Edition's Java API
Rich Client: DataFX: Populate JavaFX Controls with Real-World Data
Polyglot Programmer: The Future of Graal
Fix This


Also check out: Sample Code and Projects in Java Magazine


Cover
- 07/08 2012 -
Cover
- 05/06 2012 -
Cover
- 03/04 2012 -
Cover
- 01/02 2012 -
Cover
- 11/12 2011 -
Cover
Premiere

Thursday, July 12, 2012

Java Magazine, July/August 2012 Issue


Sixth issue of the Java Magazine is available. If you have a subscription, you can start reading the digital issue now.

Java Magazine is a free bi-monthly digital magazine and is all about Java technology, the Java programming language, and Java-based applications.

The highlight of the current issue is Developer Power - Java Tools.
" Java developers are known to be passionate, even religious, about their IDEs and other tools. With the emergence of a whole slate of new open source and commercial tools (virtually all of them cloud-based) over the past five years, there’s an awful lot to be passionate about. ...." ( From the editor ... )

Some other topics are:
  • News about Java One 2012
  • Adam Bien and his JEE6 Stress Test Monitoring Tool
  • Introduction to Web Service Security
  • Java SE7's  Fork/Join Framework for Client Java Applications
  • Java FX2
  • Threading and Concurrnecy
  • And more ...




Table Of Contents:
COMMUNITY
- From the Editor
- Java Nation
- JCP Executive Series: Q&A with Gil Tene

JAVA IN ACTION
- Building a Better Spreadsheet
- Direct Connection

JAVA TECH
- New to Java: Learning and Teaching Object Orientation with BlueJ
- New to Java: Introduction to Web Service Security
- Q&A: Talking with Adam Bien
- Tools: DEVELOPER POWER
- Java Architect: HotSpot's Hidden Treasure
- Java Architect: Fork/Join Framework for Client Java Applications
- Java Architect: How to Modify javac
- Rich Client: Lazy Evaluation, Lazy Initiation, and Custom Bindings in JavaFX 2
- Enterprise Java: Threading and Concurrency
- Mobile and Embedded: Wirelessly Back Up Your Device's Address Book
- Mobile and Embedded: Oracle Berkeley DB Java Edition's Java API
Fix This : A question from Jason Hunter about Java Servlet Programming

Also check out: Sample Code and Projects in Java Magazine


Cover
- 07/08 2012 -
Cover
- 05/06 2012 -
Cover
- 03/04 2012 -
Cover
- 01/02 2012 -
Cover
- 11/12 2011 -
Cover
Premiere

Wednesday, June 27, 2012

Hessian Binary Web Service Protocol

I want write about hessian project. It is a binary web service protocol and open source project. I will explain it with a sample code. I will use it with java servlet technology.

First you have to define a common interface: Let's call it HessianService. Then, you define a servlet in server side which implements this common interface you define and also extends com.caucho.hessian.server.HessianServlet . You can access this servlet on client side with the help of the common interface.

common interface :


server side :


client side :


references : http://hessian.caucho.com/

Are you ready for Eclipse 4? Eclipse Juno is released!!!

This is a big day for Eclipse Community. Eclipse release train has moved to the next major version after Eclipse 3 release in 2004. Eclipse 4.2 Juno has just been released after 4 years of effort. Juno represents the work of 72 project teams by 445 open source committers on 55 million lines of code, and the participation of 40+ Eclipse member companies.


You can download the Juno from eclipse.org download page: http://www.eclipse.org/downloads/

To get more information about Juno and its new features, I advice you to read thefollowing articles:
- "Top 10 Eclipse Juno Features" by Ian Bull in EclipseSource.com
- "Top 5 Reasons Why You Need Eclipse Juno" by Chris Mayer in JaxEnter.com
- "Eclipse Juno and the Future of the Eclipse Platform" by Alex Blewitt in infoq.com
- "Eclipse Juno Brings Eclipse 4 as Standard" by Alex Blewitt in infoq.com
- "Eclipse Code Recommenders Proposes Code Based On Bayesian Networks" by Alex Blewitt in infoq.com
And don't miss the Java Tech Journal's latest issue focused on Eclipse Juno : http://jaxenter.com/java-tech-journal/JTJ-2012-05

Eclipse Juno has some great features, such as a new platform with a new workbench UI model, JDT enhancements, whole new look of workbench, detached editors, universal search bar, and of course "code recommenders" plugin.

Eclipse Code Recommenders

Eclipse Code Recommenders is a new plugin you can install that analyzes code of existing applications, extracts common patterns of how other developers used and extended certain APIs before, and re-integrates this knowledge back into your IDE.


Code Recommenders must first be configured with a knowledge base (Model Repository Reference). Using this knowledge, code recommenders can take a complex content assist and display a much more civilized list, based on common usage patterns.


Tuesday, June 26, 2012

Easy Finite State Machine Implementation with Apache Commons SCXML

This article mentions about Finite State Machines (FSM), SCXML (State Chart extensible Markup Language)  and Apache Common's SCXML library. A basic ATM finite state machine sample code is also provided with the article.

Finite State Machines:

You probably remember Finite State Machines from your Computer Science courses. FSMs are used to design computer programs or digital circuits.

A sample Finite State Machine [2]

A FSM is simply an abstract machine that can be in one of a finite number of states.The machine is in only one state at a time; the state it is in at any given time is called the current state. It can change from one state to another when initiated by a triggering event or condition, this is called a transition. A particular FSM is defined by a list of the possible transition states from each current state, and the triggering condition for each transition. [1]

SCXML Language:

A working draft called SCXML (State Machine Notation for Control Abstraction, published by W3C) can be used to describe complex state machines. SCXML is a general-purpose xml-based state machine language. It is still a draft and latest version is 16 February 2012. Click here to get five minute introduction to SCXML documents.

Apache Commons SCXML Library:

Apache has an implementation aimed at creating and maintaining a Java SCXML engine capable of executing a state machine defined using a SCXML document, while abstracting out the environment interfaces. The latest stable version is 0.9.
Library Website: http://commons.apache.org/scxml/index.html
Eclipse Plugin: http://commons.apache.org/sandbox/gsoc/2010/scxml-eclipse/ (still under development)
UseCases: http://commons.apache.org/scxml/usecases.html
SCXML Editors:

Apache's Eclipse Plugin aims to provide a visual editor to edit SCXML files but it is still under development. There is also scxml gui ( http://code.google.com/p/scxmlgui/ ) which is very successful. You can also check State Forge's visual State Machine Diagram :  http://www.stateforge.com/StateMachineDiagram/StateMachineDiagram.html


Tuesday, May 15, 2012

Java Magazine, May/June 2012 Issue

Fifth issue of the Java Magazine is available. If you have a subscription, you can start reading the digital issue now.

Java Magazine is a free bi-monthly digital magazine and is all about Java technology, the Java programming language, and Java-based applications.

The highlight of the current issue is Device Convergence. Some other topics are:
  • Java ME
  • Java DB in JDK 7
  • Using the OpenJDK to Investigate Covariance in Java
  • Java SE 7
  • JavaFX 2.0 challenge by Angela Caicedo


Table of Contents:
COMMUNITY
-  From the Editor
-  Java Nation 
JAVA IN ACTION
-  Java in Action: Device Convergence
-  Java in Action: Game On! 
JAVA TECH
-  New to Java: The End of the Game
-  New to Java: Build a Web App in Wicket 1.4 Using NetBeans
-  Java Architect: OpenJDK: The Interview
-  Java Architect: Java SE 7: Shaped and Translucent Windows Deep Dive
-  Java Architect: What's New in Java DB in JDK 7
-  Java Architect: Using the Open JDK to Investigate Covariance in Java
-  Java Architect: Introduction to JIT Compilation in Java HotSpot VM
-  Rich Client: Using Properties and Binding in JavaFX 2.0
-  Mobile and Embedded: How to Tag Your Pictures with Location Information
-  Fix This


Cover
- 03/04 2012 -
Cover
- 01/02 2012 -
Cover
- 11/12 2011 -
Cover
Premiere