Subscribe: Life of a java disciple
Added By: Feedage Forager Feedage Grade B rated
Language: English
access  authentication  dialog  extjs  facebook  java web  java  jersey  menu  myspace  page  requests  server  simple  spring  web  year 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Life of a java disciple

Life of a java disciple

Nothing under SUN is better than JAVA

Updated: 2015-11-11T13:42:46.406-08:00


Secure Facebook Browsing


It is common that most websites use HTTPS for user authentication and use HTTP for everything else. This leaves users vulnerable to Cookie Hijacking. Tools like Firesheep brought this to forefront. It lets someone in your network perform Cookie Hijacking of Facebook as simple as installing Firefox Extension. The best way to avoid this hack is to completely use HTTPS when using Facebook but the

Firefox Extension: Block Facebook from your life


Its impossible to be on web and not be a Facebook user these days. Even if you are not a Social Network user, Facebook is notified whenever you visit one of the more than one million sites on the web that use Facebook Connect and has a history of leaking personally identifiable information to third parties. Either way Facebook knows your web life.Here is a Firefox Extension that completely blocks

WGET - Authentication


How to access a page using wget that requires authentication? wget is well equipped to handle multiple authentication scenario's.HTTP Basic Athentication: To download a page that requires HTTP basic authentication use the following mechanism:wget Post: To download a page

Hey Microsoft how about banning iTunes on windows?


Wouldn't it be interesting if Microsoft follows "CPU Hog" strategy from Jobs and ban iTunes on windows for installing malware that is "Memory Hog"?

Making No as Default in EXTJS Confirm Dialog


Currently there is no configuration that supports making "No" button as default for a Confirm dialog in ExtJS. So how to make no button as default?One way to do this is to get Dialog and mark second button as default. Here is the code snippet that makes no as default button:var dialog = Ext.MessageBox.confirm('Confirm', 'Do you really mean it?' ,feedbackFunction).getDialog();dialog.defaultButton

GZIP and Save the earth


It is amazing how we think about least significant things and put in Maximum effort rather than take care of low hanging fruits first. GZIP RFC came out around 1996 and all modern browsers (HTTP/1.1 supported Browsers) support GZIP and still it is amazing how many website doesn't support such a basic trick to save 50% of their bandwidth costs. Just adding GZIP support reduces bandwidth by 50% (

Making Jersey work with Spring


Making Jersey work with Spring simplifies JAX-RS (Restful webservices) and make Restful services development look lot easier. This is simple tutorial of how to make Jersey work with Spring3.0 (Same can be applied to Spring 2.5)Libraries needed:1) Spring 3.0 distribution.2) Jersey 1.x distribution.3) Jersey Spring 1.0.1-SNAPSHOTLets Inject a simple Spring Bean using Jersey @Inject annotation.Step

Android Everywhere


Sun's dream of putting Java Everywhere is finally being realized but it has nothing to do with Sun and everything to do with Google.Now Android is on Laptops, Netbooks, Mobile Phones, Video Phones, Washing Machines, Microwaves, Printers. Android is fast becoming UI device for consumer electronics.

MySpace Shame: Fix API and then talk of Developer Contest


Today MySpace announced Submissions Now Open for the MySpace Developer Challenge. Which is really great because MySpace is also trying to drive innovation from developer community on its platform. I got pretty excited to get an app going using Myspace API. After trying to integrate MySpace OAuth for an hour without much success constantly failing in 6.3.2 section of OAuth spec title Service

Disabling browser context menu in ExtJS


Many a times when ExtJs context menu (Right Click Menu) is added to components, it creates a problem as browser right click menu comes up after ExtJs right click menu is displayed. This is one of common issues posted on ExtJs forums consistently. Here is a simple way to solve the problem:Add the following line: Ext.getBody().on("contextmenu", Ext.emptyFn, null, {preventDefault: true});as first

The Boy Who Harnessed the Wind


First watched this dude on John Stewart. Most fascinating thing I heard in a while and proof world is filled with Hope:

Bye Bye Spammers


It appears after the latest attempt to drop the connection from spammers at IP level, traffic has come to normal level. To read about the issue and resolution follow these links:Day 1Day 2Graph showing traffic returning to normal:

Someone remind google what year it is


Chrome was released on Feb 3 2009.Chrome home page seems to have the same issue:

More fun with Proxy


After disabling proxy on my server, I still see traffic on my server being high (My monthly quota might not exceed at this rate but takes up 50% of Bandwidth). Looking at access log it appears that requests hasn't stopped though they are getting 403 error. So requests coming to server and 403 response by itself is making up few GB worth a data every day. So decided to block these requests at IP

Proxy turn it off


Noticed something funny on my personal webserver. I was testing some proxy settings and left proxy setting on when done. Today morning when I tried to access my server, its unreachable. Checking on the log's there seem to be too many requests proxying through my web server. All the IP's seem to originate from China and destination seems to be Ad server: - - [16/Feb/2009:12:07:27 -

JSF and Nested Diagnostic Context


One of the important design criteria for any large concurrent system is to be able to audit and debug production logs. Any real-world web applications need to deal with multiple clients simultaneously. In a typical java web application implementation of such a system, different threads will handle different clients. A possible but discouraged approach to differentiate the logging output of one

Microsoft and Silly bugs


Less than a fortnight back Zune30 leap year bug caused mass suicide of all Zune30 devices. Later on it was found to be simple looping bug in Zune's Clock Driver as shown here in the code to determine year part of the date:year = ORIGINYEAR; /* = 1980 */while (days > 365){ if (IsLeapYear(year)) { if (days > 366) { days -= 366; year += 1; } }

If Matrix ran on Windows


Throwing this java.lang.Error can get you fired


Imagine your boss going through your server log file and he see's the Error being thrown as CoderMalfunctionError. The discussion might not start in a pleasant way but you both might end up laughing since it really has nothing to do with Coder Malfunctioning. java.nio.charset.CoderMalfunctionError is thrown when either encoder or decoder is malfunctioning. Sun decided to call combination of

Debugging JWS with Eclipse


After nearly 10 years, I spent considerable amount of time working on java desktop application recently. Looking at Java Web Start forums and FAQ it appears still users have issues with setting up Eclipse Remote Debugging with Java Web Start. This can be easily achieved by following three simple steps:1. Debug Java Web Start applications locally before deploying them on your web server. i.e use

Android Price


I saw the live webcast and tried to preorder Andriod which was supposed to be 179$ with 2 year contract. But here is what I see when I go to TMobile web site and try to buy G1:

Best PC vs Mac Parody


With all the hype around Microsoft and Apple Ads, I think this the best parody:

JPA: java.lang.IllegalArgumentException: Removing a detached


One of the common issues that I end up debugging is the following exception:java.lang.IllegalArgumentException: Removing a detached instanceWhen does this occur?: While removing a record.Why does this occur?: You are trying to delete a record which is retrieved in another transaction (probably even trying to delete a record that is stored in user HTTP session).How to fix it?: Make sure you

Low cost Multi-Touch project


Since there is too much hype of Multi-Touch products from different companies, its worth checking out Johnny Lee's cheaper version of Multi-Touch screen. I bought a LED flashlight for 18$ and ever since having fun with my WII.Here is a introduction video from Johnny Lee:Johnny Lee’s page has more info and is worth checking out.Also Wiimote Whiteboard has a good Java API that worked fairly well

Yahoo: Nicely Done


Google and Yahoo both offer Ability to add RSS feeds to users personalized home page. While checking my personal server's access log, I noticed a nice little information that Yahoo sends with each request. It sends you data on how many users added your feed and how many times a feed has been loaded on users homepages. Here is a snippet from from yahoo and google requests from Apache access logs: