Thursday, September 24, 2009

The A-Z of Programming Languages: Groovy

Groovy project manager Guillaume Laforge says the Groovy programming language was designed to make life simpler for developers through its seamless integration with the underlying Java platform. "There's really no impedance mismatch between Groovy and Java," he says. "That's why lots of projects integrate Groovy, or why companies adopt the [Groovy on Rails (Grails)] Web framework." Laforge says that Groovy finds frequent use as a superglue for tying together various application elements, and he points out that Groovy is often the preferred language when developers must integrate and employ an additional language in their applications. Laforge says that Grails offers an advanced integration of the best-of-breed open source software components to provide a pleasant experience for developers while also addressing various other aspects such as the project build, the persistence, a rich view layer, and an extensible plug-in system. Laforge says Groovy's support for closures is his favorite feature. "With closures, you can start thinking differently about how you solve your everyday problems, or create complex algorithms," he says. "Closures give you an additional layer of abstraction for encapsulating code and behavior, and even data [thanks to Groovy builders]. Also, with various helper methods added to Java collections, in combination with closures, you've got the power of functional languages at your disposal."

To View This Full Article
http://www.computerworld.com.au/article/318392/-z_programming_languages_groovy?fp=4194304&fpid=1

The A-Z of Programming Languages: Groovy

Groovy project manager Guillaume Laforge says the Groovy programming language was designed to make life simpler for developers through its seamless integration with the underlying Java platform. "There's really no impedance mismatch between Groovy and Java," he says. "That's why lots of projects integrate Groovy, or why companies adopt the [Groovy on Rails (Grails)] Web framework." Laforge says that Groovy finds frequent use as a superglue for tying together various application elements, and he points out that Groovy is often the preferred language when developers must integrate and employ an additional language in their applications. Laforge says that Grails offers an advanced integration of the best-of-breed open source software components to provide a pleasant experience for developers while also addressing various other aspects such as the project build, the persistence, a rich view layer, and an extensible plug-in system. Laforge says Groovy's support for closures is his favorite feature. "With closures, you can start thinking differently about how you solve your everyday problems, or create complex algorithms," he says. "Closures give you an additional layer of abstraction for encapsulating code and behavior, and even data [thanks to Groovy builders]. Also, with various helper methods added to Java collections, in combination with closures, you've got the power of functional languages at your disposal."

To View This Full Article
http://www.computerworld.com.au/article/318392/-z_programming_languages_groovy?fp=4194304&fpid=1

Ubuntu founder names 10.04 release

Lucid Lynx to help enterprises move into the cloud
The wraps are coming off the latest version of Ubuntu with creator, Mark Shuttleworth, announcing the name of the next release, Lucid Lynx.
Speaking via video to UbuCon in Atlanta, Shuttleworth said Ubuntu 10.04, which will the supersede 9.04 release, would be a long-term support (LTS) release with support for the desktop for 3 years and for the server for 5 years.
"It has been a very big year in the Ubuntu community and probably the biggest thing for us is the focus that is now starting to come to bear on our next release", he said. "It will effectively be the third LTS release in a row delivered on a two-year cadence."
Shuttleworth said it was testament to the open source community that the Ubuntu project was not only able to release the product on on a six-month cadence, but on a two-year major platform cycle for large organisations that need long term support and predictability for organisational planning.
Lucid Lynx will continue the close relationship with the Debian architecture and infrastructure, he said.
"We have had the opportunity to do some good behind the scenes support with Debian, which is the most important distribution to us. I hope over time that we can broaden that and elevate the art of free software."
The Lucid Lynx name is designed to bring together the aspirational characteristics of Ubuntu – Lucid for clarity and focus, and Lynx as a "thoughtful and considered predator".
On the desktop side, 10.04 will focus on delivering the best of GNOME 2.0. Subsequent releases will focus on the new technologies, architectures and experiences being developed as part of GNOME 3.0.
"On the server side, we’ll be taking the large scale, horizontal scalability, volume deployment, heritage of Debian and really try to push that into cloud computing," Shuttleworth said. "Making sure that 10.04 is a platform for anybody who is building a large scale infrastructure - for anybody who is trying to build the next Facebook, the next Google, the next eBay. Whether you want to start on (Amazon) EC2 and migrate to the managed cloud, Ubuntu 10.0.4 is going to be the platform."

Saturday, April 25, 2009

Connect to Oracle Database from Visual Basic 6


Hi friends don’t worry to connect oracle and vb its simple just follow these instructions.


Step1:create a table in oracle

For ex:create table with name book

Insert some values in it

Close the oracle.

NOTE: don’t close oracle by pressing close button

Type ‘exit’ to close

Step2:Open VB and do the following

To add a reference, select Project-References from the Visual Basic Menu Bar


To add a components, select component from the Visual Basic Menu Bar







Tool box looks like this shown below







Drag and drop this in form

Now form looks like this shown below






















Double click the form(not at datagrid control) and paste the given code in form load event

Note :1)type ur userID and ur Password at 6th line in code.

2)Provider=in some systems it will be msdaora or MSDAORA.1

Dim oconn As New ADODB.Connection

Dim rs As New ADODB.Recordset

Dim strSQL As String

strSQL = "SELECT * FROM BOOK "note:give ur table name”

Set oconn = New ADODB.Connection

oconn.Open "Provider=msdaora;User Id=type ur userid;Password=type ur password;" “note:type ur userID and Password here”

rs.CursorType = adOpenStatic

rs.CursorLocation = adUseClient

rs.LockType = adLockOptimistic

rs.Open strSQL, oconn, , , adCmdText

Set DataGrid1.DataSource = rs

After pasting this just run the application.Now u can view ur table in datagrid like this






















IF U ARE NOT GETTING THE OUTPUT

CONTACT: M.VINOTH KUMAR

IT-B SEC

VELAMMAL ENGINEERING COLLEGE

PH.NOà9283205157

vinothkumarmadan@gmail.com

Friday, April 24, 2009

acm


ACM(automatic computing machinery) ICPC(International collegiate programming contest

This month starting was an awesome time…


My self and my frinends went to kerala to attend the ACM ICPC Regionals Onsite programming round.

I ll start first with the details about ACM ICPC:

Every year Association for Computing Machinery (ACM) conducts International Collegiate Programming Contest(ICPC) where the top 100 teams from all over the world compete at the finals. To select this 100 teams there are regionals all over the world. Since I was from Asia Region i was asked to participate in the regional which will be held in Asia.

So i chose The kerala site which is nearer to me. We went to the Amrita University for the onsite for which the selection was initially did by an online round. They shortlisted around 58 teams for the onsite round.

There were teams from all over India and other asian countries like Singapore, Sri Lanka etc….

The date of contest was 6th. But they said we can reach the site from 4th onwards. Due to the train availability we went to Kerala on 4th early morning 05:30 AM by Kochuvelli Express which was a special train.

All things in kerala was awesome. The most awesome was the Food we got and the Hospitality we had. so some how the day passed away. They had a practice session on 5th so that day was also some how went.

On 6th came the real terror. There were 9 problems which were very challengin. I ll skip saying about the bitter experience of competition. That day evening we had an Entertainment session after the Certificate distribution. It was awesome.

On 7th they arranged for an Excursion to ThenMala. The trip was really cool. Cool in the sense both the enjoyment as well as the weather. Altogether i nealy took photos and videos of 3GB in kerala.

Last but not least the departuring session. We had train at the midnight at 1:30 Guruvayur Express which is not a straight train. The next we woke up at 10:00 and had breakfast and the day passed by talking to the pasengers in the train…

We reached the destination by 9:00 PM and i came to home by 11:00 and it was totally Enjoyed trip with the onli defect of not winning the competiton..


About Me

NAME : Vinoth Kumar.M

PROFESSIONAL : B.Tech(IT)

AGE : 20

DOB : 1-7-1989

LOCATION : CHENNAI