Tuesday Mar 25, 2008


Its taken a while for me to take time off and write this. But, the good thing is i have done it.

Here is the summary for day1 of the ajaxworld conference that i attended last week. i think i missed out on a couple of sessions here,but
hopefully i can add them in once i can find out where i placed the notes for them.
 

Day 1 at the ajaxworld conference:

The conference started off with Douglas Crockford from Yahoo giving a presentation
on "Can we fix the web".


- The browser was not supposed to do so much Ajax stuff.
- We have exploited most of its potential
- Security is high priority and the browser environment seems highly insecure
- Lots of languages for the web and everything has different semantics
- One thing that is benign in one language maybe harmful for the other.
- The existing model for Javascript DOM and cookies have many flaws in them.
- Forthcoming versions of ECMA script and HTML dont seem to satisfy them.
Some good languages:
Google projects - Caja and Cajita.
Something like JSONRequest for safe data transfer

We could have something like Google gears or Adobe AIR for communication containment.
Provides co operation with mutual suspicion.

But then, it is heavy weight and difficult. Still subect to XSS attacks.

Accelerate web development with Appcelerator

- Started off with history of web related products like powerbuilder and sybase.
- History of WWW, intranets, browsers, W3C, programming languages, netscape,
app servers, JCP etc..
- Web 2.0 seems to be an overloaded term with lots of different things that
are being done being classified as web 2.0
-Appcelerator has a product that does event handling, ajax and DHTML coding for you.
- It codes javascript that you dont have to code.
- We can use widgets from other vendors like YUI, flex and ext widgets.
- Appcelerator provides RIA capabilities along with SOA.


REST and Ajax by Lars Tridoff

- REST is an alternative to soap.
- Each resource has an URI and representation
- Resources have respresentations each of which have URLs.
- There are various forms of REST clients
      - Libwww
      - Apache commons HTTP lib
      - Python HTTP library
      - Web browsers
Web forms 2.0 - Support for other modes than POST and GET

Define representations for resources
Define POST behavior

Browsers do not support PUT or DELETE. So, wrap PUT or DELETE in a post request
and add HTTP method-override header.

Sling with "mu"jax
- Exposes the complete JCR repository as a JSON tree
- APIs for CRUD
- stand along JS library
- DOJO toolkit integration

http://weblogs.goshaky.com/weblog/lars

Jmaki webtop - Arun Gupta

Honestly, one of the better presentations for creating mashups on the web.
I dont think i need to say much about this. You can just go visit http://jmaki.com


Tuesday Mar 04, 2008

At the end of the first day, my laptop charger conveniently busted and there was some problem with the internet at my friend's place.  But things are back to normal now that i am  back to bangalore.

I had a notion that the crowd in day 2 would be much lesser than day 1.





Well, it was wrong. After a session from Vijay Anand from Oracle, the first presentation i attended was by Jayashri and Animesh on JSF and Ajax and Project Woodstock. It was indeed very pleasant to see people attending the session in large numbers for the project that you are working on. The session was well received by the audience and after the talk the three of us spent quite some time answering queries regarding ajax and JSF in general and also abour woodstock.














I attended a session on JRuby given by Lee Chuk and Roman Strobl. It focused on Ruby programming language and its advantages and how JRuby takes advantage of Ruby + Java.

I again spent the rest of the afternoon interacting with other folks on JSF and ajax. Later in the day i attended a session by SAP on "Role of community networks in platfrom world". The talk was basically about community building for a technology and how it helps in advancement of the technology and for the developers. How the enterprise as well as the community could also benefit from it.

 

Day Three was an add-on day and i had decided to spend my time with the netbeans sessions. This time the key note was from Ian Murdock, Vice President of Developer and Community Marketing. The first of the netbeans sessions began with Roumen talking about Netbeans 6 and its enhancements.




There was a talk by collabnet on SVN, its features and its improvements from the previous release. 

In the afternoon, attended a session on Visual Web Pack again by Jayashree. This time the talk was more focussed on VWP and its features and lesser on JSF and Ajax. There were also some demos on how to use VWP. Some of the other sessions that i attended were on netbeans mobility pack and another session by Roumen on netbeans platform.


Thursday Feb 28, 2008

Finally! I have set foot on hyderbad soil! I was looking forward to three days of fun and excitement at sun tech days 2008 and day 1 definetely did not disappoint me.  There was a lot of energetic crowd from all categories ranging from university students to well established techies and managers present at the meet.

 Morning session:

Commuting using share autos, i arrived at the venue around 8:15 in the morning. There was already a good crowd even at that time. After registering at the registration desk, i took a look around the sponsor stalls trying to make sense of the plethora of software and services being advertised by them.

 

 

The morning session started a bit late with Matt Thomson starting off the proceedings. Rich Green took the key note speech today with a talk on "Platforms that empower web technology". The speech was really enthralling and he gave a short update on each of Sun's products. The topics addressed include Sun's acquisition of MySQL, JavaFX and its future, Glassfish achievements and its future roadmap and of course notes on solaris and virtualization.. There was also a demo by Satish Vaidyanathan from the N1SPS group on xVM. It is noteworthy that the talk was being broadcasted simultaneously to chennai and bangalore!

 


Later there was a mini competition held where there were two teams formed each containing three technical evangelists and each of them had to present on some topic for five minutes each. The winner was chosen from an audience based SMS polling.The topics ranged from using SunSPOTs to a demo on compiz on solaris x86(i am personally waiting for it to work on sparc!)


The first session that i attended was by Arun Gupta who presented on Glassfish. It was an interesting talk where he traced the history of glassfish and the features that were added as time went by, the present state of glassfish, improvements made with each version and  its achievements (such as being the only first fully compliant JavaEE5 app server and the fastest among its breed), the future road map of glassfish V3 and  glassfish's tooling support. There was also a short overivew on Metro (which i suppose will have a more detailed presentation tomorrow also by him) and glassfish's clustering architecture. There was also a short demo on how to use glassfish with netbeans for web services.

The next one i attended was by "Rags" on JavaFX. It was a talk on what JavaFX is and what it is NOT, the advantages of FX (Object oriented, declarative, automatic data binding, extensive colln. of widgets etc.) The general idea was that you could do anything that you could do with JAVA API for GUIs with FX but only easier. There was also code comparison between the two. Then there was a very excellent demo too. Hopefully, once the APIs stabilize, there will be a good market for FX.

Post Lunch sessions:

After a very heavy and excellent lunch, i thought i was going to sleep in the next session. But rather (un)fortunately, there was a very excellent session by Lee Chuk Munn and Roumen Strobl on Rapid web development with Ruby and JRuby. Lee Chuk first gave a introduction on Ruby's history, how it came into existence. Later, he went on to give the scripting language's syntaxes and its usages along with examples. This really helped for dumbers in Ruby like me in getting started with Ruby and helping me realize its power.
Roumen gave a talk on what JRuby is, how it relates to Java,what are its advantages and gave some code examples and demos using netbeans.

 

The next session i attended was by Sridhar Reddy on Java Persistence API. He gave a brief note on what EJB 3 was, its advantages compared with EJB 2.1. Later he started off with a simple example showing a POJO and how it later was converted to a entity bean. Later, he used it with a database table and demonstrated the usage with a session bean. He demonstrated the various usages of entity beans and its advantages in relation with the earlier version of entity beans. He also touched upon the advantages and other improvements made in EJB3 when compared with its previous release. There a lot of interesting questions posed to him during the Q&A session.

After a good tea break, i attended a session on Filthy Rich Clients by Joey Shen. He gave a lot of good advice  on Java GUI programming and how we could increase performance, scalability and at the same time achieve good quality graphics with good useful progamming tips. Unfortunately, i have to admit that i am not much of an know-how in that field. I suppose the session would have really benefited folks who are into this sort of stuff.

My day ended with another incredible session from Arun Gupta. He gave a presentation on JMaki. He explained what JMaki meant(J-Javascript and Maki - combination(?) ) and what benefits one obtained from such a wrapper framework. I was really impressed with this. Some of the advantages include standardized event/data model, consistent programming model among different frameworks and defaults for the components set out of the box. The presentation was very interesting in the sense that it was interlaced with a lot of demos.

For those who thought that the day was over, there was also an enticing performance by the much renowned "Euphoria". I have a high regard for this group, who once in my university (when i was studying) performed non-stop 200 minutes live on a stage jumping, dancing and yelling all late in the night till about 3 in the morning.

 

 Hopefully tomorrow will also be a very fun filled day. And for those who happen to read this blog before day 2, there is a presentation on JSF, Ajax and woodstock in the community track. (It's the first session in the morning!) So, be there!


 

Tuesday Feb 26, 2008

I'll be attending this year's sun tech days happening at hyderabad. Its spread over three days (including a netbeans day which i plan to attend). This should be a great chance to get to know some of the latest ground breaking technologies and also a chance to see hyderabad. Here is the agenda for the tech days. I have my eyes set on the enterprise and the rich clients track for day 1 and community and interop track on day 2

There is also a presentation on "JSF and project woodstock" in the community track on day 2 and also on visual web pack on day 3 (netbeans day).

I'll have to wait and see how my brain digests the information from different sessions along with my stomach taking care of hyderbadi biryani!
 

Friday Feb 01, 2008

There is an exciting application on the web, which lets you broadcast yourself live. All you need is a camera and an internet connection. (Alright.. yeah.. i know.. i have seen similar networking sites like this ) But this one is a much more mature and much more professional site. Serious about the content it has.. You can also host recorded clippings and search through videos people have hosted. The site called appropriately ustream. You can tag your streams or recorded clippings which help users decide the content that they want to watch. They can also search for people and connect with them hence again forming a social network. With these kinds of advancements i guess the    "The Truman Show" days are not far away.. The only difference, people are knowingly broadcasting themselves 24 hours a day!
And of course here is sun's channel on ustream.

 

Wednesday Jan 30, 2008

Came across this good article in javalobby. There is a developer from france who has written about why the world has still not embraced the JavaEE5 release which is going to be 2 years old in a few more months. Even though JavaEE5 is way much more better than its previous release J2EE1.4, the factors affecting its adoption are basically the learning curve involved, ignorance to the improvements made and lack of popular j2ee container support to it. Even though glassfish is fully JavaEE compliant and one of the best JavaEE containers to use, people seem to still associate it with older releases and are hesitant to go use it.

Also, people have the thought that EJB3 is still the old EJB. Lots of empty methods, home and remote interfaces, tons of xml configuration etc.. Despite a lot more improvements made in EJB3 which have made it much less confusing and easier to use, people are still not investing in it.

The move to JavaEE5 also requires the adoption of jdk1.5 from 1.4 which companies are not investing in again. (somehow that sounds stupid to me.. But i dont work in those companies)
 

http://java.dzone.com/articles/why-are-we-not-using-java-ee-5 

Wednesday Jan 16, 2008

Deep has a  write up on how to use the Google Map API with woodstock components. This sample project, created using netbeans 6.0 and VWP allows you to enter an address in a text field and find that address in the google map that is displayed nearby. There is also a sample project available for download. Note that to run that sample project, you should make sure that you have resolved all the dependency jars by yourself. Here is the link to the blog entry.

Tuesday Nov 27, 2007

Heard this from Dick. Netbeans has come up with a new community site my.netbeans.org. You can create an account profile and login into the website. After that you can do a host of things such as searching out for other netbeans developers nearby your area and adding them to your friends network, download the latest release of netbeans and also watch screen casts.

I got myself a netbeans widget which you should be able to see in my blog sidebar.. Pretty cool eh!

Sunday Oct 21, 2007

I just came across this very good article which explains Java Persistence API with EJB3. The article is written in very simple and lucid language. Even dummies like me have no problem reading up and understanding what JPA is. I just could figure out that there are two parts to this tutorial.. I am not sure whether it has more parts..

http://today.java.net/pub/a/today/2006/05/23/ejb3-persistence-api-for-client-side-developer.html 

http://today.java.net/pub/a/today/2006/06/08/more-ejb3-persistence-api-for-client-side-developer.html 

Tuesday Sep 18, 2007

Two major releases have come out today.. Both of which i have been waiting for.. (of course i do regularly use their nightly builds too..)

a) Glassfish releases its glassfish V2 today..

b) Netbeans 6.0 Beta 1 releases today.. 

Cant wait to wake up tomorrow, download these builds and work on them. 

Tuesday Sep 11, 2007

Changing the color of highlighted braces in netbeans 6

[Read More]

Tuesday Aug 28, 2007

Sun has been ranked in the top 20 IT employers list according to the latest annual survey done by Cybermedia's flagship publication Dataquest in collaboration with IDC India. 

 

http://www.ibnlive.com/news/tcs-best-it-employer-wipro-not-among-top-20/47602-11.html

 

TCS has got the top spot.. This is definetely a huge achievement considering the number of employees that TCS manages and attrition rates that plague indian IT companies. Infosys seem to be the number one"dream company" as usual. Not surprising..

IMO, with the kind of work culture that SUN has had to offer in comparison with other companies around in India, it would indeed have been a surprise if SUN did not actually figure in the list. I think SUN figuring out in the list is just the start.. As time goes by, things will keep getting better and i definetely see SUN going up that rankings list.

Wednesday Jun 13, 2007

Vim editor of late has been going thro many improvments. When i started programming initially it was on an age old solaris box using a vi editor which wouldnt allow me to use the arrow keys. I had to use the h,j,k,i(?? i forgot!) keys to move around the screen. If i used the arrow keys it would insert new lines with either the characeters "A" or "B". It was disgusting initially but later i got used to it. Then i started programming on a linux flavor of vi and i found that i could actually use the arrow keys to move around the screen. Phew.. what an improvement. I gradually got hooked on to the vi editor not because of the features it offered but because of its simplicity in doing things. It wasnt a heavyweight application and it didnt do a lot of things. But it just did what i wanted.. Edit the code. And i didnt have to move my hands from the key board to do things that i wanted. Amazing.

 Then things evolved.. something called vim came along with new features.. I could use syntax highlighting, code formatting etc.. Very nice.
Then there came gVim which kind of gave a notepad like interface. Infact  i saw a demo where even code completion was becoming a part of the feature of vim. Hmm... interesting.. But only thing that attracts me to vi still is its simplicity in doing stuff.

I came across a plugin today for vim which allows your vim to turn into a bash IDE. It actually helps people who do shell scripting a lot. Well.. i am not sure how many purists would go ahead and use it. But considering that there are not many tools out there which give you shell scripting support, i guess this is another good nice to have plugin.

I read about it over here. Take a look at it and see it work for yourself.
 

Saturday Jun 09, 2007

Fortune 500 companies of 2007.

[Read More]

Friday May 25, 2007

I came across these interesting ads(much better than any of our rival ads that i have seen on TV) on YouTube.

http://www.youtube.com/profile?user=SunMicrosystemsInc

This link takes you to the collection of ads that sun has posted on youtube.

And finally this needs a special mention.
 



This blog copyright 2008 by venky