alt.comp.lang.java
  Home FAQ Contact Sign in
alt.comp.lang.java only
 
Advanced search
June 2008
motuwethfrsasuw
      1 22
2345678 23
9101112131415 24
16171819202122 25
23242526272829 26
30       27
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
alt.comp.lang.java Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Queue ADT         


Author: olwow
Date: Jun 14, 2008 09:48

which of the following implementations of the Queue ADT suffers from
the problem of erosion and why?

A non-cyclic linked implemention
A non-cyclic block implementation
Any non-cyclic implementation
Any block implementation
no comments
  wsdd deploy         


Author: stivazzi
Date: Jun 6, 2008 03:32

Hi everybody...
i got a problema: i'm trying to deploy a un web service, using wsdd
but after a while always this message is returned ...
anybody can help me?
thanks Andrea

p.s.: i'm already setting host and port
( -Dhttp.proxyHost=1.1.1.1 -Dhttp.proxyPort=8080
org.apache.axis.client.AdminClient deploy.wsdd)

Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/
envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketTimeoutException: Read timed out...
Show full article (1.99Kb)
no comments
  loading java applet failed         


Author: Tester
Date: Jun 3, 2008 07:59

Hello there,
I am receiving an error while loading the time java applet on www.time.gov
web site[loading java applet failed and applet utcnistn not inited] I
already updated my jre to the latest. Is it possible I need to run
another version of java on my machine compatible with my java plug in
160_06?
load: class utcnist4.class not found.
java.lang.ClassNotFoundException: utcnist4.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel...
Show full article (0.93Kb)
no comments
  BigDecimal builder... and immutability         


Author: Tommy
Date: Jun 1, 2008 03:51

Our application uses BigDecimal, and BigDecimal is immutable. Immutability
is certainly a good thing, but it also means that there are a lot more
memory allocations (and collections). That's ok, we are all happy that
Strings are immutable, but Java also gives us StringBuilder and
StringBuffer. Is there anything similar for BigDecimal?

BigDecimal operations are the hotspots in our application and the GC is also
very busy collecting all the objects. Unfortunately double are not good
enough for us. Ideally we would like something like C# Decimal: a 128bit
decimal number (not floating point, but decimal), I have not actually used
this, but from what I have heard it is what we would need..

I googled the web for a fixed precision decimal class for Java, for an
immutable version of BigDecimal, etc... I could not find anything. Do you
know of anything that could help us?

Thanks,

Tommy
no comments
  Send email with israelian (Hebrew) text         


Author: giugy
Date: May 29, 2008 03:24

Hi, sorry for my english but i don't speak it very well....i have a
problem with my class that send email....

I need to send email with attachments and with subject and body in
israelian (hebrew), and Content-Transfer-Encoding = 8bit...i have some
problem with this....i try to set the message's header with the
charset for hebrew
message.setHeader("Content-Type", "text/plain; charset=ISO-8859-8");
and to set the message's Content-Transfer-Encoding
message.addHeader("Content-Transfer-Encoding", "8bit");

This is my code

import javax.mail.BodyPart;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.SendFailedException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.*;
import javax.activation.*;
Show full article (4.60Kb)
no comments
  New Software Development Links Directory         


Author: SoftDevJobs
Date: May 26, 2008 04:33

SoftDevLinks.com is a new general directory for software developers,
testers and managers. If you have a blog, a web site, distribute a
tool or work a consulting company related to software development, do
not hesitate to add a (free) link in this directory.

http://www.softdevlinks.com/
no comments
  Re: Is There Anyone Out There With QSAA?         


Author: Patrick Meuser-Bianca
Date: May 19, 2008 21:25

I noticed a memory allocator embedded in my old OpenOffice 2.3 that resides
the latest 3.4, on Windows XP. It functions on an intermittent basis to
crash my whole OpenOffice session by allocating memory until it goes down,
operating at 100%% of the processor's capabilities and freezes the session
until. Perhaps there is a connection...

QSAA : http://www.usag-ac.info/cgi-bin/view.cgi?id=274

Regards,

Patrick Ashley Meuser"-Bianca"
Cyberneticist
http://www.usag-ac.info
Show full article (1.06Kb)
no comments
  RMI--JOptionPane Hangs         


Author: Jim A
Date: May 15, 2008 13:40

I'm building an RMI application and I'm using a callback from the server to
a client to signal the need to show a JOptionPane from within the client.

The problem is that when the JOptionPane shows, everything comes to a dead
stop, including the JOptionPane. The pane is empty--as though it is
transparent. It shows the contents of the window behind it and does not
respond to any mouse clicks or keys. I can't even get it to close by
clicking on the close box (X). It's like the JOptionPane's modality is
blocking input to the JOptionPane itself.

Can anyone help with this?

Thanks.
no comments
  switch statement and classes         


Author:
Date: May 15, 2008 10:55

Hi to all,

Switch statement can be used with enums, but not with classes. It there a
way to bypass this limitation?

I want to have the following things at the same time:

a) have a structure of a specific number of final string values
b) be able to use switch statement (easier to read code) on variables of
that structure
c) be able to call functions that accept String parameter, and pass
variables of that structure, without having to call other functions of that
structure.

Let me explain what I mean:

If I write the following code:

---- ---- ---- ---- ---- ---- ---- ---- ---- ----
protected static class Phase {
final static String Active = "active";
final static String Stopped = "stopped";
final static String Passive = "passive";
}
---- ---- ---- ---- ---- ---- ---- ---- ---- ----
Show full article (1.64Kb)
1 Comment
  Serial port on windows with Java         


Author: John Pickwick
Date: May 10, 2008 02:17

Hello,

how can I manage the serial port (javax.comm ?) on windows ? Where can I
download just an extension .jar ?
Thanx,

John
no comments
 
1 2 3 4 5 6 7 8 9