Mar 14

Here is a very good activity diagram of how your request is processed. Passing through all the status codes that you know and never knew.

http-headers-status.gif

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: , ,

Mar 14

Video speaks for itself

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: ,

Mar 14

Adobe Flex is out and is already making ripples across the RIA world. Recently, the book Adobe Flex & Java is also ready and is already available online. Will grab a copy of the book and will let you know how it is.

As of now, I am using Adobe Flex 2 : Training from the Source. Lots of impressive code samples.

Also see : Is Adobe Flex really the future of the Web?

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: ,

Mar 14

When it comes to early adoption of technologies, Eclipse stands behind NetBeans. Sun and the NetBeans Community,  last week, announced an early access release of the NetBeans Ruby Pack which provides support for the Ruby programming language.  As you already know that JVM will now allow scripting languages to be run on it.

The NetBeans plug-in offers developers added support for dynamic and scripting languages and includes editing features for both Ruby and JRuby - a 100% pure-Java implementation of the Ruby programming language that runs on the Java Virtual Machine.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: ,

Mar 14

Now that AJAX is more of JSON than XML, there arises an imminent need to learn JSON. Interchange of XML between serverside and clientside is heavy. XML is still a String but it needs to be parsed to give some meaning to the client. Javascript Object Notation (JSON), on the other hand is lightweight than the XML and we speak the language of Javascript. Which means no parsing.

This is JSON

{"addressbook": {"name": "Mary Lebow",
    "address": {
        "street": "5 Main Street"
        "city": "San Diego, CA",
        "zip": 91912,
    },
    "phoneNumbers": [
        "619 332-3452",
        "664 223-4667"
    ]
 }
}

and this is its XML equavalent

<addressbook>
 <name>Mary Lebow</name>
 <address>
    <street>5 Main Street</street>
    <city zip="91912"> San Diego, CA </city>
    <phoneNumbers>
      <phone>619 332-3452</phone>
      <phone>664 223-4667</phone>
    </phoneNumbers>
 </address>
</addressbook>

And

 jsonContent.addressbook[i].name

will return “Mary Lebow”. How does that look?

However, the structure of JSON looks a bit odd. And you are just suspicious about creating JSON in your servlets. Construction of JSON is already made simple with the Java classes available at http://json.org. Google “simple json” and you have another damn simple JSON implementation.

>> Learn more about JSON and XML

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: ,

Give your best to the world.