First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Process ID in Windows the best way
Which is the best way to get the process ID on Windows after spawning a Process object with the Runtime.getRuntime.exec method? A search on the web says that Java has no direct way of doing it, and then several different ways to do it are presented. Thanks. -- Newsoffice.de - Die Onlinesoftware zum Le... 26 Jul 2010 00:52
IllegalAccessError - Super/sub-types loaded with different classloaders
Zeba wrote: On Jul 25, 2:56 pm, Zeba <coolz...(a)gmail.com> wrote: On Jul 25, 1:53 pm, Alan Gutierrez <a...(a)blogometer.com> wrote: Zeba wrote: My problem is that after I get an ExtendedSampleBO object, if I try to access the methods of the super-type (SampleBO), I get IllegalAcce... 25 Jul 2010 15:06
IllegalAccessError - Super/sub-types loaded with different classloaders
"Lew" <noone(a)lewscanon.com> wrote in message news:i2hij6$epj$2(a)news.albasani.net... In general, using a different classloader breaks inheritance. Which is why all classes must be loaded by the same system classloader that loads Object :-) ... 25 Jul 2010 15:06
IllegalAccessError - Super/sub-types loaded with different classloaders
On Jul 25, 1:53 pm, Alan Gutierrez <a...(a)blogometer.com> wrote: Zeba wrote: My problem is that after I get an ExtendedSampleBO object, if I try to access the methods of the super-type (SampleBO), I get IllegalAccessError. How do I solve this problem??!! Re-stating my requirement - Client needs to... 25 Jul 2010 06:32
IllegalAccessError - Super/sub-types loaded with different classloaders
Hi, I have a use case where - My client has a SampleBO to which he sets various values - Needs to extend this SampleBO to ExtendedSampleBO object that provides additional functionality. - ExtendedSampleBO is a class that is not present in the client application, but the client can request the framework to dow... 25 Jul 2010 16:11
Class Constants - pros and cons
Hi, in the past I used to declare my constants as this, e. g. the colors of a chess board: public static int COL_WHITE = 1; public static int COL_BLACK = 2; Now, I find class constants very useful: public final class Color { public static final Color WHITE = new Color(); public static... 3 Aug 2010 00:36
MappedByteBuffer
I'm implementing file storage for a B+Tree for deployment on Linux, development on OS X, and wanted to use MappedByteBuffer. This seems like an easy way to address large pages of data and not have implement buffering myself. I've done a little testing... import java.io.IOException; import java.io.RandomAcc... 29 Jul 2010 03:10
swing html parser
i'm using java 1.4 and the swing parser javax.swing.text.html.parser. i've got a simple text file with a SPAN element - it does not parse it. if i replace the SPAN with P - it works. what do i need to do for the parser to parse SPAN. help? ... 23 Jul 2010 04:51
How to remotely construct a remote object with RMI
Hello, I am learning RMI and I ran into this difficulty. Let's say we have: import java.rmi.*; public interface Foo extends Remote { public Bar constructBar(String name); // other stuff } public interface Bar extends Remote { public void mutate(); } --------- import java.rmi.*; im... 26 Jul 2010 09:24
Best way to do this?
I have to process a large number of database records, examine a column value (can be 10 different values) and set a bean's property depending on that fields values e.g (vastly cut down) ResultSet rs = ps.executeQuery(); while (true) { ret = new myBean(); String propName = rs.getString(2); if ... 23 Jul 2010 11:22
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17