Wednesday, December 2, 2009

Test Post from Word 2007!

VCommentTest Post from Word 2007!

This is a test post to check the functionalities

Table

Test

  

  

  

Value

  

  

  

  

Value

  


 


 


 


 


 

-- Varun

Wednesday, September 30, 2009

Test

VCommentTest

Saturday, September 26, 2009

Test entry!

VCommentTest entry!

Trying out SideWiki. I m hoping that I can delete this later.

in reference to: Varun's ScratchPad (view on Google Sidewiki)

Saturday, May 16, 2009

Flex Maven Setup!

VCommentFlex Maven Setup!
Here are some of the reference materials for Flex-Maven integration:

Maven - Eclipse (Nice)
http://www.sonatype.com/books/m2eclipse-book/reference/index.html

Maven Build (Nice)
http://www.sonatype.com/books/maven-book/reference/public-book.html
See : Chapter 20 article regarding flexmojos

Maven - Flex - BlazeDs - Spring
http://www.scribd.com/doc/6040972/Tutorial-setup-Flex-project-with-Maven
http://riadiscuss.jeffmaury.com/2008/09/maven-and-flex-builder-tutorial-part-i.html
http://riadiscuss.jeffmaury.com/2008/09/maven-and-flex-builder-tutorial-part-ii.html
http://riadiscuss.jeffmaury.com/2008/10/maven-and-flex-builder-tutorial-part.html

Flexmojo repo : http://repository.sonatype.org/content/groups/public

Maven Dependency FAQ
http://wiki.community.objectware.no/display/smidigtonull/Maven+Dependencies+and+Build+Stability+FAQ

--Varun

Wednesday, February 18, 2009

James Gosling's talk on Java

VCommentJames Gosling's talk on Java
James Gosling, Father of Java, gave a talk on "Java: Where we're heading" during the first day of Sun Tech Days 2009. He started off the talk mentioning how Java has changed the life of individuals and the various places where java is used. He expressed his joy that Java is moving towards the target of being everywhere.

The road we're on: Ubiquitous computing.

Some stats given by James
  • 6 Million Java deveopers are there world-wide.
  • 15 Million downloads of JRE every week
  • 5 Million downloads of GlassFish App Server every week.
  • 8 Million downloads of NetBeans every week.
He continuously stressed that he is just the architect of the tool but the actual players are the developers who use Java to change the world. He went on to develop a new acronym LOWA (Learn Once Work Anywhere) on the opportunities for the Java developers in the market.

Products
Then, he briefed about Glassfish 1.3 App Server and its features. Then, he moved on to the cool new features available in NetBeans 6.5. He is currently involved in the work on 'Real Time Java'. Mainly focussed on using Java for Real time control systems, robots, etc. When talking about the performance of Java, he explained that myth : Its interpreted and therefore slow, but the truth: Its been highly optimized for better performance. He also stressed on the importance of multithreading as the number of cores in Chips are getting increased. Then, he went on to talk about Java in mobile world -- mainly on Mobile Service Architecture. He gave an overview on JDK 7 and its new features. Finally, he moved on to JavaFx and expressed his satisfaction over that product. He also gave a demonstration on Java Fx application installed in his Windows based mobile.

Shall update the presentation slides and pics asap.

-- Varun

Saturday, January 31, 2009

Java - .Net Interoperability

VCommentJava - .Net Interoperability
A study on the various interoperability options available for Java and .Net. Putting it in easy wordings. For heaven's sake, do consult me if you are new to this and looking for one such solution.

Some of the options available are:

Using Web Services (SOAP based, REST based)
Web Services are services which use XML based SOAP for communication. This is an open standard. Most of the companies are adopting this approach.

Advantages:
  • Ease of use.
  • Can integrate anything with anything. [Open Standard]
Disadvantages:
  • Serializing the data to be transferred to XML and de-serializing them back [Consumes more time].
  • Transferring XML data over wire is costly than sending the raw data.
If we need high performance systems, this is not the best option.

Binary Interoperability
Binary interoperability methods take objects from one platform, serialize them into a binary stream, send them across the network and then de-serialize the same data on the other platform. Because both parties agree on the binary format to use, the serialization ensures that the binary data is successfully mapped to local data types for each platform. .NET Remoting is a protocol available for this (more like a specification). There are lots of third party implementations on top of this. Famous being, JNBridge Pro

Advantages:
  • Faster communication.
  • Shared access of objects across platforms.
Disadvantages:
  • All tools are costly
  • .NET Remoting is not a recognized standard
  • Tight coupling between client and server
CORBA based interoperability
Binary interoperability using the standards of CORBA (Common Object Request Broker Architecture). Java supports RMI using CORBA based protocol IIOP. But, .Net doesn’t support CORBA out of the box. Found a tool called IIOP.Net which does the folowing:
  1. Using Java RMI support, we can create IDL (Interface Definition Language), a common CORBA specific type definition.
  2. Create CLS (.Net Specific assemblies) from these IDL files using IIOP.Net's IDLToCLSCompiler. It will generate .dll file
  3. Add a reference to that dll file from .Net and access those classes as proxy.
  4. Use IIOPChannel to communicate with the Java remote objects.
Advantages: Same as above.

Disadvantages:
  • CORBA way would be maintenance nightmare
  • Can't rely fully on the underlying channels
  • System gets complex
References
DevX article on interoperability options
IIOP.Net
JNBridge Pro

--Varun