Tag Archives: Java

From 1st September 10, Sun Certification titles will be changed to Oracle Certification

From 1st September 10, Sun Certification titles will be changed to Oracle Certification

Posted on 31. Aug, 2010 by Tahir Akram.

3

Just came to know from Oracle website that they have completely integrated Sun certifications with Oracle certification program. The title of certification has been changed. Now Sun Certified Java Programmer will be know as Oracle Certified Professional, Java Programmer.
From Oracle website:
Effective September 1, 2010, all Java, Oracle Solaris, MySQL, Open Office and Oracle Solaris Cluster [...]

Continue Reading

Struts 2 Spring integration: a kickstart on using dependency injection

Struts 2 Spring integration: a kickstart on using dependency injection

Posted on 12. Aug, 2010 by Tahir Akram.

0

In this post you will find how we can integrate Spring with Struts2 through struts2-spring-plugin. And we will also see how we can use dependency injection. I assume that you are successfully running a Struts2 application. We will add our Spring integration code in that.
Lets take a scenario. You have an Interface DAO.java that has [...]

Continue Reading

Div based UIs. Heaven or Hell for a developer?

Div based UIs. Heaven or Hell for a developer?

Posted on 03. Aug, 2010 by Tahir Akram.

8

At my work I have a large application that has all web pages in table based layout. The use of Div is just limited to hide and show some content area on web page. Same is the case with CSS. Using them for styling fonts and some formatting for tables. Like every developer (not designer) [...]

Continue Reading

New topics added in SCJP 6 Certification (CX-310-065)

New topics added in SCJP 6 Certification (CX-310-065)

Posted on 17. Jul, 2010 by Tahir Akram.

2

Following are the points that are highlighted in Kathi Sierra and Bert Bates book on SCJP6.
1-    Console class.
2-    NavigableSet and NavigableMap.
3-    Lower(int) and higher(int) function are added in Treeset collection.
4-    Polling method in TreeSet and TreeMap.
5-    TreeSet.descendingSet() and TreeMap.descendingMap().
Thanks to Bilal for discussing these points with me.

Continue Reading

Fetch Twitter friends or followers through REST API in Java

Fetch Twitter friends or followers through REST API in Java

Posted on 16. Jul, 2010 by Tahir Akram.

0

I was playing around with fetching Twitter followers and friends with Twitter4J. But it was taking time to do that. So I code it with using REST urls given by Twitter. It fetches all your friends or followers. Depending upon your application that you want one list or you want to use paging. But I [...]

Continue Reading

Java certification voucher in $40 till 31st March 2010 for students

Java certification voucher in $40 till 31st March 2010 for students

Posted on 20. Mar, 2010 by Tahir Akram.

2

From a recent announcement from Oracle under Sun Academic Initiative program (SAI). Now students can get Java certification voucher in $40 till 31st March 2010. This is an excellent opportunity for students. After this date they will give 40% discount on the actual price of the exam fee.
Read more on SAI home page:
All SAI members [...]

Continue Reading

How to use and retain Twitter4J OAuth access token

How to use and retain Twitter4J OAuth access token

Posted on 01. Mar, 2010 by Tahir Akram.

6

I  was stuck in a problem that how to re use access token, once user has authenticated by Twitter (on call back URL). I got it working. There was problem in my understanding about request token vs access token. When user first time comes on call backed URL. I take request token and token secret [...]

Continue Reading

Sun.com is dead now

Sun.com is dead now

Posted on 31. Jan, 2010 by Tahir Akram.

8

Just found that sun.com is now redirecting to oracle.com. Some days back I visited Sun’s original website. But it didn’t took long by Oracle to make it red. Well I am a regular visitor of Sun forums. And with this change, I am trying to adjust myself with this transition. As I am having some [...]

Continue Reading

I have started preparing for SCJP

I have started preparing for SCJP

Posted on 27. Jan, 2010 by Tahir Akram.

4

Its been a year since I purchased the voucher for SCJP 5.0. But I cant concentrate to have time to prepare it. From last night I have taken the oath to finally make it done. I have started with the book SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055) by Kathy Sierra [...]

Continue Reading

Useful cheat sheets on Cloud Computing and Google App Engine for Java

Useful cheat sheets on Cloud Computing and Google App Engine for Java

Posted on 12. Jan, 2010 by Tahir Akram.

0

Just read cheat sheets (Refcard) by Dzone on Cloud Computing and Google App Engine for Java. They contain a very jumped to the point and quick reference on these things. You can read to have a quick overview.
Read them here:

Cloud Computing
Google App Engine for Java

[ad#co-2]

Continue Reading

Page 1 of 41234
PHVsPjxsaT48c3Ryb25nPndvb19hZHNfcm90YXRlPC9zdHJvbmc+IC0gdHJ1ZTwvbGk+PGxpPjxzdHJvbmc+d29vX2FkXzI1MF9hZHNlbnNlPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fYWRfMjUwX2ltYWdlPC9zdHJvbmc+IC0g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