Home » Java Technology

Java Miscellaneous

Oracle Objects JDBC vs Hibernate/ToplinkWed, 16 Jul 2008 10:47:00 GMT

Hi, Could anybody describe the benefits of using Oracle Objects over JDBC (sqldata etc) vs Hibernate/Toplink?Oracle are singing about Objects/JDBC but all their examples seem to use Toplink!Many Thanks,K....

Comments (17) | Promote | Bookmark

apartments in candaThu, 17 Jul 2008 18:13:00 GMT

hii will be going to canada for a month in august. Looking for a furnished apartment for a month.. upto 1300 canadian dollarsAnybody renting?...

Comments (12) | Promote | Bookmark

Double-checked locking & SingletonSat, 12 Jul 2008 22:10:00 GMT

Hey,The following article explian about issues that can pop up when you implement Singleton.http://www.javaworld.com/javaworld/jw-04-2003/jw-0425-designpatterns.html?page=3They claim there that the double checked locking is not good because -quote:Unfortunately, double-checked locking is not gua...

Comments (12) | Promote | Bookmark

Start Messenger Service Automatically Upon BootTue, 13 Nov 2007 20:02:00 GMT

Upon booting - the Messaging service needs to be started manually. Any ideas to have it start automatically? Using JES - 2005Q1Thanks,S7 ...

Comments (8) | Promote | Bookmark

Missing protocol in access logsTue, 13 Nov 2007 10:01:00 GMT

Hello.I'm running iPlanet 4.1 on an HP UX box.My site in configured to use a WebLogic proxy plugin for JSPs..The problem I'm having right now is that iPlanet seems to have trouble writting my access logs. My current log format is:"%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] ...

Comments (7) | Promote | Bookmark

Is Groovy taking us back ?Tue, 15 Jul 2008 17:17:00 GMT

Hi Venkat, I found in one of the examples listed here in this thread that there was a line like "println it" etc., it sounds more of ALP (Assembly language programming) where we have commands like MOVE, STORE, LOAD etc., Is it taking the developers to the traditional style? Means, will it be lea...

Comments (6) | Promote | Bookmark

VRML LoaderTue, 25 Sep 2007 00:36:00 GMT

Hi,I'm trying to create a very simple VRML viewer in Java and I have problems using the official VRML loader from j3d.org.Actually, Java 3D seems to work fine (I've successfully compiled and run a 3D, rotating cube), but when it comes to VRML scenes, the universe remains blank... No errors, ...

Comments (4) | Promote | Bookmark

How to implement timeout using threadsSat, 12 Jul 2008 23:17:00 GMT

HiI using core java and my application requires functionality that an input is requested at console and some timeout is set.i f no input is received before that interval program should exitCan anyone pls help me out by example as hot to do itThnkx in advanceGauravHere is what I have tried so far...

Comments (4) | Promote | Bookmark

How to capture & save voice from microphoneThu, 15 Nov 2007 10:03:00 GMT

I'm beginner to JMF. I want coding for capturing and saving voice from microphone. Plz anybody help me....

Comments (3) | Promote | Bookmark

Concurrency & java.util.ListSat, 12 Jul 2008 23:25:00 GMT

Hello,I have an ArrayList that is being used by multiple threads to save information. For efficiency sake, I would like to avoid synchronizing block of code whenever posible. Now, I guess ArrayList's add() method is not an atomic "operation" and it can be interrupted, but can that concurrent...

Comments (3) | Promote | Bookmark

JVM to provoke mem barrier issuesSat, 12 Jul 2008 22:03:00 GMT

Are there common JVM switches, special JVM or whatever to provoke memory barrier issues, I have a hard time convincing some programmers that such things really exist particualrly if they work on one CPU boxes. What I'ed like is to throw a switch on the JVM so that it would do its best to pro...

Comments (3) | Promote | Bookmark

Strange StackOverflowErrorSun, 13 Jul 2008 17:37:00 GMT

Hi,I'm currently writing a class called FileIterator that implements the Iterator interface and enables to iterate over all files, dirs, files in those dirs etc. in a specific directory. As you can see, you can provide a FileFilter or a FilenameFilter to filter files you don't want to be...

Comments (3) | Promote | Bookmark

java student attendance systemSun, 13 Jul 2008 18:34:00 GMT

i want to create student attendance system for my final year project, i plan to use the barcode scanner as my input devices, any one here can give me the suggestion or tutorial for the system. i also have the problem in design database architecture for my systemany one expert here can help me?...

Comments (2) | Promote | Bookmark

Rewritter support <image> ?Tue, 13 Nov 2007 18:07:00 GMT

hi,i tried putting HTML attribute image and the src tag is not being rewrittern. Is this normal ?eg. <image src="/some.gif" alt="Alternate"> ...

Comments (2) | Promote | Bookmark

hbm2java & composite IDWed, 16 Jul 2008 10:51:00 GMT

I have been trying to convert my POJO's from single column primary keys (which compiles fine with hbm2java) to composite keys. Now when I try and create the POJO from the mapping I get a ClassDefNotFoundException.The name of the hbm file and the POJO are different (I did this because I was g...

Comments (2) | Promote | Bookmark

problem with Sun One instant messagingTue, 13 Nov 2007 10:20:00 GMT

Hi, we've sucessfully installed inmstant messaging 6.0, however, we have a client that is unable to access this, they follow these steps - open browser (any browser in fact) and access site, click on the 'use java plugin' link - another small browser window opens and nothing else happens, I ...

Comments (2) | Promote | Bookmark

In 4.15 admin server web interface, can account information app be run on web server instead ofTue, 13 Nov 2007 07:00:00 GMT

Hello,Running winnt 4.0, messaging 4.x, directory 4.x and admin 4.x. Already moved the netscape gateway to a web server instead of admin server, but also need to move the user mgt application. This is the first link listed when you go to the admin server url in the browser. I have set up ...

Comments (2) | Promote | Bookmark

Help getting started with JMFSat, 22 Sep 2007 22:21:00 GMT

Hello there,Was hoping someone could help me. I'm very new to the JMF and my Java knowledge isnt top notch. just to get the hang of using the JMF I want to load in an avi or mpeg, deconstruct it into jpegs and then reconstruct into another video from the jpegs.I eventually want to be able to ...

Comments (1) | Promote | Bookmark

Two Listeners on my JTableMon, 24 Sep 2007 12:50:00 GMT

I would like to use both the ListSelectionListener and MouseListener on my JTable. The problem I am running into is this:I need the ListSelectionListener to return me a value from the row that is selected, but I only want that listener to fire if and only if my MouseListener notices a double ...

Comments (1) | Promote | Bookmark

starting rmiregistryWed, 16 Jul 2008 19:57:00 GMT

is there any way that enable me to check either rmiregistry is available or not, and if not i can start it from my java code?i heard from somewhere, that i can use jndi instead of rmiregistery, and also know that tomcat 4.0.2 support tthis jndi. is this true..and, if true, how can i use it......

Comments (1) | Promote | Bookmark

struggling with java commandSun, 13 Jul 2008 18:26:00 GMT

Hi everybody I am facing problem with java command. Actually while working on any other directory except jdk1.3\bin and jdk1.3\lib\executing java cpmmand shows following exeception.>>>>>>>Unable to instatiate java virtual machine>>>>>>>java\lang\NoSuchClassFoundError java\lang\ObjectOther thing...

Comments (1) | Promote | Bookmark

Installing Solaris 8, using LDAP as a naming serviceTue, 13 Nov 2007 21:45:00 GMT

I have a Solaris 9 server running DS 5.2. Everything seems to be setup correctly - I'm using Calendar Manager against the directory, and am able to do different LDAP queries successfully.Why then, during a Solaris 8 (2/04 I believe) installation, if I pick LDAP as a naming service and provide ...

Comments (1) | Promote | Bookmark

Regarding a problem in passwordexpirationtime in DS 5.2 patchThu, 15 Nov 2007 05:05:00 GMT

Hello,Curently I am using Directory server 5.2 patch 4When i set Expire Password on 24855 days.Password warning on 24854 dayswhen i create a person the passwordexpirationtime is getting set as "20380119031407Z" but it should be "2075119031407Z".Advice me how to solve this problem ...

Comments (1) | Promote | Bookmark

Signed MidletsMon, 24 Sep 2007 18:08:00 GMT

I have gone purchased a certificate from Verisign and have imported it into my Keystore, used the NetBeans IDE to sign my midlet suite with it, but when I attempt to install the midlet suite with the OTA provisioning tool, I get this message: "... the public key used for authorization has ...

Comments (0) | Promote | Bookmark

Draw many gif image to 1 gif fileMon, 24 Sep 2007 05:44:00 GMT

I get image url to write image but it not good because , i must defind imageVariable(ex.image1,image2,image3....if i have 10 image url i must defind 10 image variable )it not work if i have image more ,Please help me toto write to another way best regardutaitip@hotmail.comMy source code below-- ...

Comments (0) | Promote | Bookmark

corba ref fileWed, 16 Jul 2008 20:00:00 GMT

I have asked similar question before.We are using perl client to access corba server in my projectThe corba server produces a ref file (probably a stringized object) which we have to copy manually to the machine which uses the server apart from stub and interface (idl file and we use a tool idl2...

Comments (0) | Promote | Bookmark

Draw over mediaMon, 24 Sep 2007 13:28:00 GMT

Hi, I would like to draw over a a video that I display with jmf...This is my code, but don't work, I see the panel "above" my video.Iread several posts in the jmf forum, but I don't find any solution.Canyou help me?I would draw in the drawpanel...private void buildUI() ...

Comments (0) | Promote | Bookmark

JetSpeed 2.0 has been releasedThu, 17 Jul 2008 17:30:00 GMT

It supports JSR-168 and all kinds of other neat features. Read all about it here....

Comments (0) | Promote | Bookmark

set focus in textfield in WPSWed, 16 Jul 2008 14:06:00 GMT

We have a request to set the focus into a portlet's textfield when the page loads. Since we don't have access to the HTML body tag to add 'on_load=document.myform.mytextfield.focus();', I tried doing the following in the endPage(). It doesn't work when the page is first displ...

Comments (0) | Promote | Bookmark

animating LineStripArray , please helpTue, 25 Sep 2007 09:38:00 GMT

hi I was working on the animation more and i made some progress but still having some problems and made a video of it so u can check what my problem is. the link is this [url]http://dubpix.com/test.avi[/url]please save it instead of playing it directly.i create a function that reads in data ...

Comments (0) | Promote | Bookmark