Directory
Technology
Blog Details for "Beanpicks - Techno, me and my box"
Beanpicks - Techno, me and my boxBeanpicks - Techno, me and my boxWhat's happening in the circles of Java, Open source and Linux ? Articles
Save the Internet !!!
2008-06-08 08:58:00 Please don't let my future be at stake More About: Internet , The Internet , Save
What?s the pride in being a Programmer?
2008-06-04 10:28:00 I almost cried. http://www.jpboodhoo.com/blog/StayingHumb le.aspx I went through the whole paper provided in the blog link. Never could believe that it was written in 1972. I am really made humble. More About: Programmer , Pride
Is JCatapult a lightweight Spring?
2008-06-02 06:59:00 The google code project released its RC2 two weeks back and boasts that the framework is currently being used on many live projects. From what I see, JCatapult, just like Spring , is a collection of frameworks. And the good thing in it is that it has the power to cater to the technological needs of ... More About: Lightweight
Alone as an Island
2008-06-01 16:38:00 No Black smoke from the vehicles, trees everywhere, expensive house rents, photocopied places — those were first differences I noticed between Chennai and Singapore. And of course, traffic looks like it should be very boring for drivers out here as against the free rollercoaster ride you get everytime you get into the Chennai city with ... More About: Island
javax.naming.NameNotFoundException with FSContext ? Finally a solution foun
2008-02-05 18:38:00 This was my trace. Never thought i was so dumb. I was breaking my head on this for about two hours. javax.naming.Name NotFoundException ; remaining name ‘c: emp’ at com.sun.jndi.fscontext.FSContext .checkExi sts (FSContext.java:860) at com.sun.jndi.fscontext.FSContext. checkIsDirectory(FSContext.java:893) at com.sun.jndi.fscontext.FSContext.(FSConte xt.java:148) at com.sun.jndi.fscontext.FSContext.(FSConte xt.java:123) at com.sun.jndi.fscontext.RefFSContext.(RefF SContext.java:136) at com.sun.jndi.fscontext.RefFSContextFactor y. createContext(RefFSContextFactory .java:32 ) at com.sun.jndi.fscontext.RefFSContextFactor y. createContextAux(RefFSContextFactory.java :37) at com.sun.jndi.fscontext.FSContextFactory. getInitialContext(FSContextFactory.java:6 5) at javax.naming.spi.NamingManager.getInitial Context(Unknown Source) at javax.naming.InitialContext.getDefaultIni tCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.(Unknown Source)... More About: Finally
NameNotFoundException with FSContext
2008-02-05 18:38:00 This was my trace. Never thought i was so dumb. I was breaking my head on this for about two hours. javax.naming.Name NotFoundException ; remaining name 'c: emp' at com.sun.jndi.fscontext.FSContext .checkExi sts (FSContext.java:860) at com.sun.jndi.fscontext.FSContext. checkIsDirectory(FSContext.java:893) at com.sun.jndi.fscontext.FSContext.(FSConte xt.java:148) at com.sun.jndi.fscontext.FSContext.(FSConte xt.java:123) at com.sun.jndi.fscontext.RefFSContext.(RefF SContext.java:136) at com.sun.jndi.fscontext.RefFSContextFactor y. createContext(RefFSContextFactory .java:32 ) at com.sun.jndi.fscontext.RefFSContextFactor y. createContextAux(RefFSContextFactory.java :37) at com.sun.jndi.fscontext.FSContextFactory. getInitialContext(FSContextFactory.java:6 5) at javax.naming.spi.NamingManager.getInitial Context(Unknown Source) at javax.naming.InitialContext.getDefaultIni tCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.(Unknown Source) at com.ml...
Processing files over network slows down programs ? Part 2
2008-01-24 14:26:00 There are a few other things i wanted to share. I actually use the java.util.concurrent.ThreadPoolExecutor t o copy files. For those using Java 1.4, here is your gateway to concurrency : http://backport-jsr166.sourceforge.net/ Here goes my ThreadPool code. You surely could write better code than this. LinkedBlockingQueue archiverTaskQueue = new LinkedBlockingQueue(); ThreadPoolExecutor archiverExecutor = new ThreadPoolExecutor(50, MAXTHREADS, 50000L, TimeUnit.MILLISECONDS,archiverTaskQueue); File tempCurrentFile=new File(tempDestinationDir, ... More About: Programs , Network , Part , Files
Processing files over network slows down programs ? Part 2
2008-01-24 14:26:00 There are a few other things i wanted to share. I actually use the java.util.concurrent.ThreadPoolExecutor t o copy files. For those using Java 1.4, here is your gateway to concurrency : http://backport-jsr166.sourceforge.net/ Here goes my ThreadPool code. You surely could write better code than this. LinkedBlockingQueue archiverTaskQueue = new LinkedBlockingQueue(); ThreadPoolExecutor archiverExecutor = new ThreadPoolExecutor(50, MAXTHREADS, 50000L, TimeUnit.MILLISECONDS,archiverTaskQueue); File tempCurrentFile=new File(tempDestinationDir, ... More About: Programs , Network , Part , Files
Processing files over network slows down programs
2008-01-24 14:06:00 I had this strange problem for the past two weeks. A program which takes 14 minutes on my local machine consumes 98 minutes on my production server. The only reason is this — the location of my input files. I am comparing 10,000 XML files against another set of 10,000. When i make this run from my local ... More About: Programs , Network , Files
Processing files over network slows down programs
2008-01-24 14:06:00 I had this strange problem for the past two weeks. A program which takes 14 minutes on my local machine consumes 98 minutes on my production server. The only reason is this — the location of my input files. I am comparing 10,000 XML files against another set of 10,000. When i make this run from my local ... More About: Programs , Network , Files
Unable to override Xalan with Saxon - TransformationException
2007-11-16 09:00:00 I’ve been breaking my head on this for the last couple of days. I kick off my standalone app from another application’s GUI (primarily a reflection engine there) and was having trouble overriding xalan with saxon. I use saxon8 primarily because i needed grouping functions available in XSLT 2.0. The setting of of the System property ... More About: Property
Unable to override Xalan with Saxon - TransformationException
2007-11-16 09:00:00 I’ve been breaking my head on this for the last couple of days. I kick off my standalone app from another application’s GUI (primarily a reflection engine there) and was having trouble overriding xalan with saxon. I use saxon8 primarily because i needed grouping functions available in XSLT 2.0. The setting of of the System property ... More About: Tran
Apache POI InvocationTargetException
2007-10-12 15:54:00 Just disable Auto-filter or Advanced filters in your Excel Sheet. You can find filters in the Data Menu –> Filter. java.lang.reflect.InvocationTarget Excepti on at sun.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl .newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessor Impl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance (Unknown Source) at org.apache.poi.hssf.record.Record Factory. createRecord(RecordFactory.java:224) at org.apache.poi.hssf.record.RecordFactory. createRecords(RecordFactory.java:160)at org.apache.poi.hssf.usermodel.HSSFWorkboo k.<init>( HSSFWorkbook.java:163) at org.apache.poi.hssf.usermodel.HSSFWorkboo k.<init>(HSSFWorkbook.java:130)at com.ml.cortex.utils.excel.ExcelUtils.< ;init>( ExcelUtils.java:30) at com.ml.cortex.apps.eds.mif2datasoa.MIF2Da taSOAExecutor.getRequestObject(MIF2DataSO AExecutor.java:185)at com.ml.cortex.apps.eds.mif2dat... More About: Apache , Exception , Format
Apache POI InvocationTargetException
2007-10-12 15:54:00 Just disable Auto-filter or Advanced filters in your Excel Sheet. You can find filters in the Data Menu –> Filter. java.lang.reflect.InvocationTarget Excepti on at sun.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl .newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessor Impl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance (Unknown Source) at org.apache.poi.hssf.record.Record Factory. createRecord(RecordFactory.java:224) at org.apache.poi.hssf.record.RecordFactory. createRecords(RecordFactory.java:160)at org.apache.poi.hssf.usermodel.HSSFWorkboo k.<init>( HSSFWorkbook.java:163) at org.apache.poi.hssf.usermodel.HSSFWorkboo k.<init>(HSSFWorkbook.java:130)at com.ml.cortex.utils.excel.ExcelUtils.< ;init>( ExcelUtils.java:30) at com.ml.cortex.apps.eds.mif2datasoa.MIF2Da taSOAExecutor.getRequestObject(MIF2DataSO AExecutor.java:185)at com.ml.cortex.apps.eds.mif2dat... More About: Apache , Exception , Index
Linksys WRT54G wireless unable to connect to internet
2007-09-14 22:09:00 Strange but i had to face this. I was using my wireless Intel 3945 with Vista and Kubuntu to connect to internet. Fed up with Vista and wanting to install my “old Vista-unsupported” games, i installed Windows XP SP2. I was able to connect to my other desktop using my Wireless but it doesnt connect ... More About: Internet , Linksys , Connect
Linksys WRT54G wireless unable to connect to internet
2007-09-14 22:09:00 Strange but i had to face this. I was using my wireless Intel 3945 with Vista and Kubuntu to connect to internet. Fed up with Vista and wanting to install my “old Vista-unsupported” games, i installed Windows XP SP2. I was able to connect to my other desktop using my Wireless but it doesnt connect ... More About: Internet , Linksys , Connect
Session Timeout - A difference
2007-09-14 19:57:00 The number of MINUTES after which a web app times out is defined in the web.xml this way. <web-app> …. <session-config> <session-timeout>60</session- timeout> </session-config> …. </web-app> The WebLogic Server waits Timeout Secs (in SECONDS) before timing out a session as shown below: The default value, if not specified, is 3600 secs. <weblogic-web-app> …. <session-descriptor> <session-param> <param-name>TimeoutSecs</para m-name> <param-value>7200</param-valu e> </session-param> </session-descriptor> …. </weblogic-web-app> When timeout is set in both the deployment descriptors, the web.xml entry OVERRIDES the one defined ... More About: Difference
Session Timeout - A difference
2007-09-14 19:57:00 The number of MINUTES after which a web app times out is defined in the web.xml this way. <web-app> …. <session-config> <session-timeout>60</session- timeout> </session-config> …. </web-app> The WebLogic Server waits Timeout Secs (in SECONDS) before timing out a session as shown below: The default value, if not specified, is 3600 secs. <weblogic-web-app> …. <session-descriptor> <session-param> <param-name>TimeoutSecs</para m-name> <param-value>7200</param-valu e> </session-param> </session-descriptor> …. </weblogic-web-app> When timeout is set in both the deployment descriptors, the web.xml entry OVERRIDES the one defined ... More About: Difference , Diff
Filter filenames in a directory using FilenameFilter
2007-09-11 06:44:00 Old code but thought this would be useful package com.ml; import java.io.File; import java.io.FilenameFilter ; public class FileFilterTest { public static void main(String[] args) { FilenameFilter filter=new FilenameFilter(){ public boolean accept(File dir, String fileName) { return fileName.endsWith("java"); } }; File f=new File("D:/Programs/Code"); String [] fileList=f.list(filter); for (int i=0;i<fileList.length;i++){ System.out.println(fileList[i]); } } } More About: Directory , Tory , Names , Director
java.util.regex.PatternSyntaxException: Dangling meta character ?*? near in
2007-08-23 14:17:00 The same error comes when the regex is “+” Here is the solution. Enclose your * and + within square brackets. Here is my code. public static final String [] wildCards={"[*]","%","@","&","[+]"}; public static void main(String[] args) { String s=”!@#$%^&*()”; s=stripWild(s, wildCards); System.out.println(s); } More About: Java , Character , Pattern , Exception , Meta
10 things your IT guy wants you to know
2007-08-10 12:05:00 This is just funny as hell. 10 things your IT guy wants you to know More About: Things
Tutorials from Google ? Text and Video
2007-08-09 19:40:00 This is a site hosted by Google for educators. As of today, Ajax and Distributed computing tutorials are available. More About: Video , Tutorials , Text , Rial
Whining from a ?cheap? Indian developer
2007-08-09 15:00:00 It really pains to find posts in sun.com like this. And the reactionary blog posts like this. Look at the code flaws that the blogger has pointed out. These flaws are not supposed to be made even by a JSP first-timer. I wonder what book the developer went through before writing something like ... More About: Indian , Developer , Cheap , Develop
Evil fun with Java ;-)
2007-08-09 12:08:00 btw, who said that there could not be that evil laughter when you are writing Java ? http://evil.hackademix.net/fullscreen/app let.html More About: Evil
Casual picks
2007-08-09 09:44:00 1. FileStuff provides information on over 5,000 file extensions. Use this site to find out which application a particular file type/file extension belongs to or to find out the default file extensions used by specific software. http://www.filestuff.co.uk/ 2. BitTorrent goes Closed Source. However, the protocol doesn’t. You are well off using Azureus. 3. The Mac crack, hack and ... More About: Casual
del.icio.us search
2007-08-09 09:04:00 Using del.icio.us at home and office, i find it difficult to synchronize the bookmarks. Meaning, when i tag something at office, I am not able to view those links in the “Recently Bookmarked” tab. What i do to overcome this is either go to http://del.icio.us/arunodhaya80 or just Logout and Login for synching. Looks like ... More About: Search
Innovation happens everywhere
2007-08-09 08:26:00 Pic says it all. More About: Innovation , Where , Inno
The new iMac ? Will they ever allow me to save some money?
2007-08-09 07:43:00 Couldn’t resist the temptation to post this even though this has come up in the digg top list. Have a look at this comparison between the Apple iMac and the Dell XPS. One guy quotes “I have an iMac, and i have…. One cord? One to the power” More About: Money , Save , Some , Allo
Flock ?together?
More articles from this author:2007-08-08 09:41:00 I was just looking for some aggregator plugin for Firefox when this struck my eyes — A complete “social browser”. Flock looks too good and has some beautiful features. Best of all, the browser is built on Firefox. Linux and Mac? Yes, of course. Beta still. I took the liberty to steal the feature list ... More About: Lock 1, 2, 3 |



