I want to share a problem that we had in our project. We were doing a real-time "Profits and Loss" server (P&L). The server sends stock updates to all the users subscribed to the stocks, basically as Google Finance or Yahoo Finance.
I will used a basic approach (no aggregation and no optimization) to explain the problem that we had with Serialization and...
on Aug 6, 2010
In this part we will discuss the basic classes that we will work with them to have file system operations like copying a file, dealing with symbolic links, deleting a file, and so on. I will write a separate entry to introduce classes which are new to Java 7 for dealing with streams and file contents, watching service and directory tree walking. If you want to know what are new features in Java...
on Jun 1, 2010
Content located at: http://blogs.sun.com/arungupta/entry/screencast_31_java_ee_6
on Aug 2, 2010
I decided to write down the answer for some questions which my book's readers email me or ask me via twitter in my weblog so everyone can benefit from the answers. Here is the answer to the first question which involves custom security realms.
GlassFish supports 5 types of security realms out of the box which are sd follow:
File Realm: Usefull for development and testing purposes. GlassFish...
on May 18, 2010
Java EE Security refcard is available for download. This refcard covers Java EE 6 security and discuss how each application server supports the specs. The refcard covers authentication, authorization, and transport security in Web Application, EJB application and web services by introducing the concept and the related annotations and deployment descriptors which help us realize the concept....
on May 17, 2010
Please use the following articles while I am updating this entry
How to have your Own CA and configure Glassfish and your clients for mutual authentication?
How to have your Own CA and configure Glassfish and your clients for mutual authentication?, Part II
Please post any comment or question here so we can have one main reference for this.
var gaJsHost = (("https:" == document.location....
on May 13, 2010
Content available at: http://blogs.sun.com/arungupta/entry/fisl_2011_trip_report
on Jul 28, 2010
Still hesitating to join JCertif 2010 http://www.jcertif.com ?
See Tasha's excellent post on Brussels JUG website http://www.brussels-jug.be/?p=785
PS : We offer the hotel (one night) to thank our Speakers.
on Jun 20, 2010
Content available at: http://blogs.sun.com/arungupta/entry/jazoon_2010_day_3_java
on Jun 3, 2010
The Book in Details:
Security was, is, and will be one of the most important aspects of Enterprise Applications and one of the most challenging areas for architects, developers, and administrators. It is mandatory for Java EE application developers to secure their enterprise applications using Glassfish security features.
Learn to secure Java EE artifacts (like Servlets and EJB methods),...
on May 13, 2010
In the previous installment of Effective Architecture, I covered TDD with Model-View-Presenter. However the code I presented had synchronous server calls. In JavaFX (like Swing), the UI code runs in the Event Dispatch Thread (EDT). It is unwise to block the EDT. Hence it is encouraged to execute all server calls on a separate thread.
Swing provides SwingWorker to execute tasks off the...
on Jul 23, 2010
Content available at: http://blogs.sun.com/arungupta/entry/java_ee_6_glassfish_31
on Jul 20, 2010
Here is a little code challenge !
I'm actually working on a text-mining/semantic web application focused (for the moment) on biomedical informations and developed in Java. We are using external tools for text-mining analysis and unfortunatly theses tools don't handle HTML pretty well ... If we send raw HTML to the text-mining service, he simply break. So we must convert HTML to plain-text before...
on Jun 30, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_141_running_glassfish_3
on Jun 24, 2010
In two previous entries I covered Introducing NIO.2 (JSR 203) Part 1: What are new features? and Introducing NIO.2 (JSR 203) Part 2: The Basics In this entry I will discuss Attributes introduced in NIO.2. Using attributes we can read platform specific attributes of an element in the file system. For example to hide a file system in DOS file system or to check the last access date of a file in...
on Jun 23, 2010
OpenESB project initiated by Sun Microsystems to develop and deliver a high performance, and feature rich implementation of Java Business Integration (JBI) under an open source friendly license. Basic task of JBI implementations is connecting different type of resources and applications together in a standard and none intrusive way. Basic building blocks of an ESB includes the Bus which is a...
on May 24, 2010
I am happy to announce the release of Apache Pivot 1.5! Apache Pivot (http://pivot.apache.org) is a platform for building rich Internet applications (RIAs) in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.
Pivot 1.5 includes a number of improvements intended to help improve the overall...
on Jun 8, 2010
We are opening our embeddable Wiki engine "GWiki", which is written in Java with the Apache License 2.0 to all backend Java developer in the world. If you want to allow your customer to edit rich text fragments in your app, even their I18N files or mulitimedia content in the Wiki-way... try our GWiki - it rocks.
Since Gwiki can be extended with macros written in Java...
on May 22, 2010
In front of hundreds of guests from the economy sector, the political sector as well as the Information and Communications sector (ITK) the 'Initiative for Small and Medium Sized Businesses' awarded the Innovation Prize IT 2010 during the NORD/LB forum at the CeBit for the best IT innovations of the year. Micromata came third in the Open Source category with its Java API for KML - JAK.
on May 30, 2010
Here is the second part of the CAFE fundamentals blog series. This time, I am explaining two important interfaces called Communication and UserProcedure with an example. If this is the first time you are hearing about SailFin CAFE, I recommend reading the CAFE fundamentals article and the blog on writing your first CAFE application. The core of this discussion is an example which shows...
on May 17, 2010