<?xml version="1.0" encoding="UTF-8" standalone="yes"?><rss version="2.0"><channel><title>Java, PHP, MySQL, Ruby, and more at Sagewire.org</title><link>http://www.sagewire.org/</link><description>Blogs and forums for Java, PHP, MySQL, and more.</description><language>en</language><item><title>What exception to use with invalid data fields on object passed to business tier method?</title><link>http://www.sagewire.org/java-misc/What-exception-to-use-with-invalid-data-fields-on-1213916.aspx</link><description>I have a question about what the convention is for throwing exceptions on 
validating data passed to business tier objects.

If I have a business tier service like where 'AccountManager', a business 
tier that maintains accounts...

        public class Account {
           ...
           private String fTitle;
           private String fAccountCode
           ....
        }

        public class AccountManager  {
           ...
           public void addAccount(Account aNewAccoun...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/What-exception-to-use-with-invalid-data-fields-on-1213916.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 04 Jun 2007 15:05:39 GMT</pubDate></item><item><title>jsp include</title><link>http://www.sagewire.org/java-misc/jsp-include-1007716.aspx</link><description>Hi,

Can anyone help me with a problem please.

I am using the [code]&amp;lt;%@xxxxxxxxxxx include file=&amp;quot;/include/amt_header.jsp&amp;quot; %&amp;gt;[/code] code to include 
a header into a JSP and it works

fine if the file which uses the include statement is in the same folder that 
contains the include folder.

The problem is when a file wishes to use the &amp;quot;/include/amt_header.jsp&amp;quot; file 
from a different folder.

So for example if my main file is in a folder &amp;quot;cart&amp;quot; and I want to access 
the header file ...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/jsp-include-1007716.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 26 Apr 2007 11:27:52 GMT</pubDate></item><item><title>JAVAx.z Yet Another Collections Library</title><link>http://www.sagewire.org/java-misc/JAVAxz-Yet-Another-Collections-Library-349792.aspx</link><description>I've started writing a new collections library based on set theory as per 
Spivey's Z notation. I've put the library on SourceForge. It is currently 
in its infancy and it'll be expanded fairly rapidly.

Let me know if you are interested in getting involved.

To try it out go to: http://sourceforge.net/projects/zedlib

... or search for project &amp;quot;JAVAx.z&amp;quot;

I've resisted calling it yacl, but maybe that is more appropriate!

Brad.</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/JAVAxz-Yet-Another-Collections-Library-349792.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 20 Oct 2006 06:20:28 GMT</pubDate></item><item><title>JAVA property files</title><link>http://www.sagewire.org/java-misc/JAVA-property-files-347230.aspx</link><description>I've a JAVA application that reads a properties file. All 
is well until I include a property like:

AppPath = C:\Program files\myprog\dat

When I use getProperty() to read the property the \ 
characters are stripped out.

How can I prevent this from happening to that the string 
reads in correctly?-- 
If you can not be the flame, do not be the moth.</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/JAVA-property-files-347230.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 08 Oct 2006 22:10:20 GMT</pubDate></item><item><title>Dynamic array creation</title><link>http://www.sagewire.org/java-misc/Dynamic-array-creation-54402.aspx</link><description>Dynamic array creation

Hi all... here's a good one for you...

I've a situation where I've some bean, and I need to populate an
array field in it... here's the problem... I don't know the element
type of the array before runtime.

Now, I have been planning on using Commons Beanutils, since the rest of
this particular app does (it's doing a lot of introspection of the
beans and such).

So, here's the question... can anyone figure out a way to dynamically
create an array at runtime? ...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Dynamic-array-creation-54402.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 16 Jun 2006 12:22:04 GMT</pubDate></item><item><title>JAVA HelpSet</title><link>http://www.sagewire.org/java-misc/JAVA-HelpSet-54398.aspx</link><description>Hi All,

I am just trying to find out how to use JAVA Help and have come across a 
problem at the first step.

I've the line below which I thought should find the help set file.  For 
some reason it always returns null.

ClassLoader cl = getClass().getClassLoader();
hsURL=HelpSet.findHelpSet(cl, &amp;quot;Help/JAVAhelpexample.hs&amp;quot;);

The Help folder is in my application directory so it should be able to find 
the file fine I thought.

P.S. cl isn't null.

Any suggestions?

Regards

Jam...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/JAVA-HelpSet-54398.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 23 Mar 2006 23:55:38 GMT</pubDate></item><item><title>JAVA logging</title><link>http://www.sagewire.org/java-misc/JAVA-logging-54387.aspx</link><description>Hi there,

I've used the JAVA logging class to log errors to an xml file, I'm just 
wondering if anyone knows of a simple program that will easily view this 
files and allow them to be filtered by log level?

Regards

Jamie</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/JAVA-logging-54387.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 09 Feb 2006 22:22:35 GMT</pubDate></item><item><title>Weblogic/IntelliJ/Ant conflict?</title><link>http://www.sagewire.org/java-misc/WeblogicIntelliJAnt-conflict-54385.aspx</link><description>I have been hunting all over the place for this one and have come up empty...

I've been using IntelliJ IDEA v4.x to build a BEA/Weblogic (v8.1) Web 
services application, and found that it works very well.  I've a large 
ANT task (build.xml) which defines various build and deploy tasks.  Some 
of the tasks use BEA specific extensions (taskdef tags) to build various 
components.  The way I have found to get this to work is to include the 
weblogic and webservices JAR files in the &amp;quot;Additio...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/WeblogicIntelliJAnt-conflict-54385.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 10 Dec 2005 17:57:30 GMT</pubDate></item><item><title>any open source JAVA products that handle automated telecom calling?!?</title><link>http://www.sagewire.org/java-misc/any-open-source-JAVA-products-that-handle-automate-54380.aspx</link><description>Does anybody know of any open source JAVA products that offer server driven 
automated telecom calling?

Basically I'm looking for a telecom service product that can make telecom 
calls and relay a message to a human receipient who is then prompted for a 
response.</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/any-open-source-JAVA-products-that-handle-automate-54380.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 23 Nov 2005 17:41:19 GMT</pubDate></item><item><title>'type' of 'System.out.println'([code]&lt;ObjInstanceList&gt;[/code])</title><link>http://www.sagewire.org/java-misc/type-of-SystemoutprintlncodeObjInstanceListcode-54362.aspx</link><description>If 'System' is a class,
  what exactly is 'System.out'  ?

And apparently 'println' is a public method of object 'System.out'.

If 'System.out' is an instance [public object] of Class 'System', 
is it necessary the prepend the ClassID, because there are other 
'out' objects which are public instances of other than 'System' Class ?
Ie. to distinguish 'System.out' from 'otherClass.out' ?

Thanks for any info.

== Chris Glur.</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/type-of-SystemoutprintlncodeObjInstanceListcode-54362.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 06 Sep 2005 16:09:42 GMT</pubDate></item><item><title>JOB OPENING: JAVA Front-End Web Developer - Atlanta, GA</title><link>http://www.sagewire.org/java-misc/JOB-OPENING-JAVA-FrontEnd-Web-Developer-Atlanta-GA-54361.aspx</link><description>Reddy Technical Services has a client with an opening for a web front-end 
developer.  The person in this position will be responsible for the design 
and implementation of the User Interface for the client's main product line. 
This position will also control the design direction for the entire product 
suite and all future products.

Candidate qualifications:

 - Solid JAVA/JSP development experience.

 - Solid web and graphics design experience (Photoshop, etc.)

 - An understandi...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/JOB-OPENING-JAVA-FrontEnd-Web-Developer-Atlanta-GA-54361.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 01 Sep 2005 12:22:51 GMT</pubDate></item><item><title>What am I doing wrong here. Simple statement. Novice Question.</title><link>http://www.sagewire.org/java-misc/What-am-doing-wrong-here-Simple-statement-Novice-Q-54358.aspx</link><description>HI! I get an error with this code.

[code]&amp;lt;SCRIPT language=&amp;quot;JAVAScript&amp;quot;&amp;gt;[/code]
If (ifp==&amp;quot;&amp;quot;){
ifp=&amp;quot;default.htm&amp;quot;}
//--&amp;gt;[code]&amp;lt;/SCRIPT&amp;gt;[/code]

Basicly I want my iframe to have a default page if the user enters in 
directly. so I need a way doing this. so I check to see if the ifp value is 
null and if so then assign it a value. is this correct?Thanks in advance :)

Paul</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/What-am-doing-wrong-here-Simple-statement-Novice-Q-54358.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 31 Aug 2005 21:58:42 GMT</pubDate></item><item><title>Hello World message disappeared?!</title><link>http://www.sagewire.org/java-misc/Hello-World-message-disappeared-50657.aspx</link><description>Hello,

I am trying out some of the Sun JAVA sample code and starting to learn
about swing gui etc.

I've added the slider object and now the Hello World message no
longewr appears. Why is this?

Thanks

Geoff

import JAVAx.swing.*;        

public class HelloWorldSwing {
    /**
     * Create the GUI and show it.  For thread safety,
     * this method should be invoked from the
     * event-dispatching thread.
     */
    private static void createAndShowGUI() {
        //M...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Hello-World-message-disappeared-50657.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 15 Jul 2005 12:04:21 GMT</pubDate></item><item><title>tomcat woes</title><link>http://www.sagewire.org/java-misc/tomcat-woes-50645.aspx</link><description>We're having problems with our tomcat virtualhost setup. See the log 
below. We can not explain the &amp;quot;can not resolve localhost:8009&amp;quot; error. If you 
have a clue, please let us know.

Cheers,
Marc[Wed Mar 09 13:54:39 2005] [notice] Apache/2.0.52 (FreeBSD) 
mod_jk2/2.0.2 configured -- resuming normal operations
[Wed Mar 09 13:54:39 2005] [info] Server built: Feb  8 2005 11:14:08
[Wed Mar 09 13:54:39 2005] [debug] prefork.c(955): AcceptMutex: flock 
(default: flock)
[Wed Mar 09 13:54:39 20...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/tomcat-woes-50645.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 12 Mar 2005 04:18:09 GMT</pubDate></item><item><title>Self Modifying Code</title><link>http://www.sagewire.org/java-misc/Self-Modifying-Code-50589.aspx</link><description>How do you write self modifying code in JAVA?

Japcuh
(Just Another Perl C Unix Hacker)
http://www.catb.org/~esr/faq/hacker-howto.htm#what_is
.0.
..0
000</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Self-Modifying-Code-50589.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 02 Mar 2005 16:12:06 GMT</pubDate></item><item><title>Netbeans does not recognise compiler options ?</title><link>http://www.sagewire.org/java-misc/Netbeans-does-not-recognise-compiler-options-50643.aspx</link><description>Hi there I am using Netbeans 4.0 on windows XP. My problem is that the
compiler
does not seem to be receiving *some* of my options. Has anyone else come
across
this and how did you fix it?

I am trying to compile so that the .class files will run in the 1.4 JVM. To
achieve this I need to run the compiler with the switch &amp;quot;-source 1.4&amp;quot;. But
Netbeans does not appear to be passing this switch to JAVAc!?!?!?!?

Details follow.

If I compile from the command prompt (with the following), I ...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Netbeans-does-not-recognise-compiler-options-50643.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 20 Feb 2005 00:17:12 GMT</pubDate></item><item><title>ridiculous - JAVAx.swing.text.html.HTMLEditorKit.Parser needs X11 server to work</title><link>http://www.sagewire.org/java-misc/ridiculous-JAVAxswingtexthtmlHTMLEditorKitParser-n-50640.aspx</link><description>Hello,

wrote in message application which does not use graphic at all. One part of
application
needs Parser class from JAVAx.swing.text.html.HTMLEditorKit. The ridiculous
fact is when I try to instantiate parser, jvm wants to connect to X11
server.
That means that I need X-server for simple html text parsing. Is there any
workaround for this issue ? Any help appreciated.

best regards,
Nebojsa</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/ridiculous-JAVAxswingtexthtmlHTMLEditorKitParser-n-50640.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 14 Jan 2005 22:43:13 GMT</pubDate></item><item><title>.class file includes debug info??</title><link>http://www.sagewire.org/java-misc/class-file-includes-debug-info-50636.aspx</link><description>Hi,

I'm looking for a command-like utility which can read a .class file and
tell you whether it includes debug information, i.e. whether it was
built with the -g option of JAVAc.

Thanks in Advance,

D=F3nal</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/class-file-includes-debug-info-50636.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 22 Dec 2004 15:40:08 GMT</pubDate></item><item><title>Calling a C++ dll from JAVA</title><link>http://www.sagewire.org/java-misc/Calling-dll-from-JAVA-50613.aspx</link><description>I need to call a function that is there in a C++ dll. The arguments to
the function are STRUCT and string. The return type is void. Also I
donot have any rights to change the dll and I've to use as it is....
So here goes my questions: 1. How to pass a struct variable from JAVA
to a function in DLL. 2. The function returns void and the second
argument is the output variable which I need to use. So is there
anyway, that call by reference can be used from JAVA? 3. Where should
I place my dll...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Calling-dll-from-JAVA-50613.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 20 Dec 2004 23:48:39 GMT</pubDate></item><item><title>newbie question</title><link>http://www.sagewire.org/java-misc/newbie-question-50634.aspx</link><description>hi there,

I am new to the whole world of JAVA and will be doing my best to learn, 
absorb, and understand all that it has to offer. The first question that I 
have is the following:

The latest SDK is j2se5.0, if a JAVA program is compiled under this release 
will it work under an older JVM (ie. JAVA 1.3.0..04)?

thanks in advance.</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/newbie-question-50634.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 15 Dec 2004 04:25:41 GMT</pubDate></item><item><title>J2SE 5.0 SDK</title><link>http://www.sagewire.org/java-misc/J2SE-50-SDK-50620.aspx</link><description>I heard that there is 5.0 version but I can not find it on Sun's wweb
page.  All I found is J2SE 5.0 RC

Can somebody send me a link?</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/J2SE-50-SDK-50620.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 14 Nov 2004 07:06:45 GMT</pubDate></item><item><title>Hugely dumb questions...</title><link>http://www.sagewire.org/java-misc/Hugely-dumb-questions-50581.aspx</link><description>Okay, now I know this is a hugely retarded question, because I'm at
the JAVA.sun site reading through the manuals, but maybe it's my state
of mind or something (21st birthday was yesterday.. possibly a
factor...).  BUT!  I've a few questions:

1)What is the difference between j2ee SDK, JDSE SDK, J2SE JRE?  I'm a
software developer, and I USED to program in JAVA, back in the day,
but I can not remember for the life of me which to download.  I thought
it was just called the J2SDK, but I gu...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Hugely-dumb-questions-50581.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 12 Nov 2004 08:41:52 GMT</pubDate></item><item><title>How to "VIEW" JAVA Class Files?</title><link>http://www.sagewire.org/java-misc/How-to-VIEW-JAVA-Class-Files-50627.aspx</link><description>Hello,

I've searched to no avail on this question.

Does anyone know how to view the grapical (menu) output of a JAVA class
file?

I am not interested in the code behind the scene, but rather the
executed/parsed output.

I've some JAVA class files that create various menus and I need to take
screen captures of those menus.

Please excuse any apparent ignorance with JAVA.

Any assistance will be very much appreciated.

Thanks,

Jim</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/How-to-VIEW-JAVA-Class-Files-50627.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 08 Nov 2004 03:00:03 GMT</pubDate></item><item><title>starting out - need advice</title><link>http://www.sagewire.org/java-misc/starting-out-need-advice-50622.aspx</link><description>I'm just beginning to dabble in JAVA, coming
from VB. I'm exploring learning JAVA for GUI application
development.  Probably no web apps or applets.

    So far I have got the JDK1.5 and
NetBeans4.0B installed. I'm not sure how to start
with NetBeans and wonder if it might be overkill.
(It seems to be impossible to even do a &amp;quot;hello world&amp;quot;
without first figuring out what an &amp;quot;Ant script&amp;quot; is.)

   Borland JBuilder and Code Warrior both only run
on Win2000/XP (odd for a cross-platform lan...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/starting-out-need-advice-50622.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 18 Oct 2004 12:36:48 GMT</pubDate></item><item><title>Weird JVM Behaviour?</title><link>http://www.sagewire.org/java-misc/Weird-JVM-Behaviour-50625.aspx</link><description>To all the JAVA guru's out there.

I am quite new to JAVA, but I've come across something
that I find very strange.

Can anyone offer an explanation for the following:

1) I've a directory with nothing in it but two jar files:

  D:\test&amp;gt;dir *.jar
  24/09/2002  10:39 AM             2,520 MyLayout.jar
  09/10/2004  07:24 AM            21,215 Importer.jar
                 2 File(s)         23,735 bytes

2) I try to run the Import.jar as follows:

  d:\test&amp;gt;JAVA -classpath &amp;quot;.;MyLayo...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Weird-JVM-Behaviour-50625.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 11 Oct 2004 23:29:28 GMT</pubDate></item><item><title>BlueJ for the birds?</title><link>http://www.sagewire.org/java-misc/BlueJ-for-the-birds-50623.aspx</link><description>After getting several recommendations of BlueJ
as a basic JAVA editor, I installed the latest version.
(I have not tried JGrasp yet.)
But BlueJ seems to be very buggy. Maybe I'm missing
something? The interface looks sensible and usable
but there were 3 problems from the start, and I have not
even used the program yet:

1) Every time I start it I get a blue screen error.
     (I did not think to check exactly what it was.)

2) It won't run at all unless allowed to open a port.
     I...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/BlueJ-for-the-birds-50623.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 07 Oct 2004 07:11:27 GMT</pubDate></item><item><title>Connection Refused (XPprof,JMV 1.4.2_03)</title><link>http://www.sagewire.org/java-misc/Connection-Refused-XPprofJMV-14203-50619.aspx</link><description>I try to setup a socket connect to the port (for example) 1099 but I
can not get any?
Exception message is &amp;quot;connection refused&amp;quot; Help!

If have a laptop with XP professional, SP1 and JVM 1.4.2_03. All the
programs are running on the same machine (local).

Thanx for all suggestions…</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Connection-Refused-XPprofJMV-14203-50619.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 16 Sep 2004 13:25:14 GMT</pubDate></item><item><title>[BATIK] Rectangle links to other SVG-Document/Webpage</title><link>http://www.sagewire.org/java-misc/BATIK-Rectangle-links-to-other-SVGDocumentWebpage-50615.aspx</link><description>Hi,

im using batik to draw several rectangles via graphics2D.

now I would like to add a link to another html or svg document to the
rectangle. if the user clicks on the rectangle, the other document
should appear.

how can this be done using batik?

thanks!</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/BATIK-Rectangle-links-to-other-SVGDocumentWebpage-50615.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 10 Sep 2004 15:52:14 GMT</pubDate></item><item><title>Is there a Secure FTP (SFTP) class?</title><link>http://www.sagewire.org/java-misc/Is-there-Secure-FTP-SFTP-class-50612.aspx</link><description>Is there a secure FTP class out there yet?  Looking for an easy way out
because I do not have time to write one!  :-)  A Google search turned up
nothing.</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Is-there-Secure-FTP-SFTP-class-50612.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 10 Sep 2004 07:42:06 GMT</pubDate></item><item><title>News ticker</title><link>http://www.sagewire.org/java-misc/News-ticker-50604.aspx</link><description>I am looking for at 100% free horizontal &amp;quot;news ticker&amp;quot; like the one at:
http://www.appletcollection.com/JAVA-news-tickers.htmlI am able to find plenty of tickers on various applet-sites, but they alle
have watermarks or statusbarmessages saying  &amp;quot;unregistered version&amp;quot;. Where
do I find a copyright-free newsticker?

Best regards
LarsR</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/News-ticker-50604.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 30 Jul 2004 16:23:01 GMT</pubDate></item><item><title>Running a Thread multiple times</title><link>http://www.sagewire.org/java-misc/Running-Thread-multiple-times-50605.aspx</link><description>Hi,

I've an applet with a tiled background. On that background 
I draw two light spots, which take quite some time to render.

So whenever the applet (actually a Frame in my applet) is 
resized I draw the tiles (this does not take long) and after
that'd like to fire off a background thread which'd 
calculate the light spots:

class RenderThread extends Thread
{
        public volatile boolean running = false;

        public RenderThread() {
                setPriority(Thread.MIN...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Running-Thread-multiple-times-50605.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 30 Jul 2004 16:20:22 GMT</pubDate></item><item><title>How to find info on JAVA libraries, classes, etc.?</title><link>http://www.sagewire.org/java-misc/How-to-find-info-on-JAVA-libraries-classes-etc-50600.aspx</link><description>I'm just starting to learn JAVA.  Naturally, I
am comparing it to languages that I am already
familiar with.  In Oracle, in Sqlplus, you can 

describe procedurenameThis will list procedure &amp;quot;headers&amp;quot;.
It'll show you all input and output parameters.If you:  describe pacakgename

Oracle will list all the internal procedures, and
the parameters required for each of the procedures.Is there something similar in JAVA?

Ie.  I want to know all the built in functions, etc in:

JAVA.io
JAVA....</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/How-to-find-info-on-JAVA-libraries-classes-etc-50600.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 24 Jul 2004 19:53:51 GMT</pubDate></item><item><title>Ant/JAVAc: building as many files as possible?</title><link>http://www.sagewire.org/java-misc/AntJAVAc-building-as-many-files-as-possible-50596.aspx</link><description>Hi all,

This isn't necessarily an Ant question, nor a standard sun JAVAc. I
am using both, and all suggestions are welcome.

I'd like to build as many classes as possible from a given
&amp;quot;project&amp;quot;. In an Ant script, I just supply all classes from a given
&amp;quot;project&amp;quot; (or &amp;quot;module&amp;quot; -- the  idea is that the code base is divided
into modules), and even say failonerror=&amp;quot;false&amp;quot;. At which point the
build script'd take files from source control and build them, in
the order of specified dependencies...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/AntJAVAc-building-as-many-files-as-possible-50596.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 23 Jul 2004 19:56:20 GMT</pubDate></item><item><title>Dynamic invocation of web services?</title><link>http://www.sagewire.org/java-misc/Dynamic-invocation-of-web-services-50579.aspx</link><description>Most of the open source web-service products that I am reading about
seem to require generation of client stub and server implementation
ancestor classes from the WSDL file.  The client application links in
with the stubs.  Like CORBA SII, the client operates on a proxy
(albeit a &amp;quot;service proxy&amp;quot; and not an &amp;quot;object proxy&amp;quot;) in its address
space.

This approach seems to limit the scope of web services.  Is there an
equivalent of CORBA DII for web services?  I believe the UDDI standard
allo...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Dynamic-invocation-of-web-services-50579.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 22 Jul 2004 19:43:31 GMT</pubDate></item><item><title>IP options</title><link>http://www.sagewire.org/java-misc/IP-options-50597.aspx</link><description>Hello,

Can someone tell me if they're a way to program the IP options in JAVA?

Thanks
Serge</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/IP-options-50597.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 17 Jul 2004 16:50:55 GMT</pubDate></item><item><title>Forcing different Serialization/Externalization for identical references</title><link>http://www.sagewire.org/java-misc/Forcing-different-SerializationExternalization-for-50595.aspx</link><description>Hi all,

How'd one force a deep reserialization for a collection whose
reference
is already known to be serialized by ObjectOutputStream (without using
custom
mechanisms, of course; in that case there's no question, is there?). 

For example, I am trying to serialize a large number (hundreds of
thousands) of rows of a database, that I store as a List. Now, if I do
.clear() and try to serialize again, I'd get the same result back
as the first thing I serialized. But if I create a &amp;quot;new&amp;quot;...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Forcing-different-SerializationExternalization-for-50595.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 14 Jul 2004 05:05:41 GMT</pubDate></item><item><title>converting from decimal to any bae</title><link>http://www.sagewire.org/java-misc/converting-from-decimal-to-any-bae-50592.aspx</link><description>hello;
does anyone know the function or method that'd take any integer and
converted to any base (2---9)?

roy</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/converting-from-decimal-to-any-bae-50592.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 11 Jul 2004 06:36:22 GMT</pubDate></item><item><title>Avoid multiple logon..</title><link>http://www.sagewire.org/java-misc/Avoid-multiple-logon-50588.aspx</link><description>I've been reading all I can about Sessions and Tracking but in vain.
Herez the deal:

I've been using cookies for session tracking. I had to resort to
cookies because httpsessions aren't feasible
since my env. is Websphere5 ND. There is no guarantee that the session
is replicated across
appliacation servers in a clustered env. 

The real issue here is that need to ENSURE that a user doesn't logon
more than once ..In simple avoid
multiple login. On a successful 2nd logon I'd like to te...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Avoid-multiple-logon-50588.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 08 Jul 2004 05:02:46 GMT</pubDate></item><item><title>Disk-backed allocations or collections</title><link>http://www.sagewire.org/java-misc/Diskbacked-allocations-or-collections-50578.aspx</link><description>Hi all,

Can anyone suggest a (preferably open-source) library that'd allow
for disk-based collections (kind of an application's own VM)?

Thanks.</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Diskbacked-allocations-or-collections-50578.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 02 Jul 2004 05:24:00 GMT</pubDate></item><item><title>Clarification of JAVALive delegates criticism?</title><link>http://www.sagewire.org/java-misc/Clarification-of-JAVALive-delegates-criticism-50580.aspx</link><description>Back when the new J2SE1.5 features were announced, there was a
JAVALive community chat
(http://JAVA.sun.com/developer/community/chat/JAVALive/2003/jl0729.html)
in which Neal Gafter explains the Sun stance on lack of support for
delegates:

... There are serious semantic problems with trying to add delegates
to a language in a consistent way. The main problem is that once you
call the delegate, the original class instance is no longer part of
the call chain, so overriding in the original...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Clarification-of-JAVALive-delegates-criticism-50580.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 26 Jun 2004 00:19:29 GMT</pubDate></item><item><title>JDK 1.5 + JBuilder + Linux</title><link>http://www.sagewire.org/java-misc/JDK-15-JBuilder-Linux-50575.aspx</link><description>Hello all.

	I'm having some trouble getting JDK 1.5 to work properly in JBuilder 
under Linux.  After downloading and installing (in both the OS and 
JBuilder) I point my current project to the new JDK and try to run it.
	I get the follow error:

&amp;quot;Application1.JAVA&amp;quot;: cannot access JAVAx.swing.UIManager,bad class file: 
/opt/jdk1.5.0/jre/lib/rt.jar/JAVAx/swing/UIManager.class,class file has 
wrong version 49.0, should be 48.0,Please remove or make sure it appears 
in the correct subdir...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/JDK-15-JBuilder-Linux-50575.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 17 Jun 2004 16:33:34 GMT</pubDate></item><item><title>Begginner to JAVA</title><link>http://www.sagewire.org/java-misc/Begginner-to-JAVA-50570.aspx</link><description>To keep me away from the 'darker side' of computers I was advised by a
computer expert to start learning computer languages. I currently no
small amounts of c++ and html. I was advised that JAVA was a good
starting point, does anyone disagree? What is the best medium for
learning JAVA, book - online tutorial etc. Are there any peices of
software required such as a compiler? Thanks for any info given SK</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Begginner-to-JAVA-50570.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 15 Jun 2004 08:37:40 GMT</pubDate></item><item><title>Sun's JCE 1.22 producing different MD5 MAC result to MS CryptoAPI</title><link>http://www.sagewire.org/java-misc/Suns-JCE-122-producing-different-MD5-MAC-result-to-50571.aspx</link><description>Hi Guys,

I am writing a JAVA application which needs to produce an RSA MD5 Mac
code for a message, using Sun's JCE version 1.22.
This Mac code then gets validated bt a 3rd party application written
in C++, which is using Microsoft's CryptoAPI running on Windows 2000
Professional.
The problem is that the Microsoft &amp;amp; JAVA functions seems to produce 2
different MAC values using the same key and the same input data.

My code is as follows:

This is the JAVA Code:

	public String test(...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Suns-JCE-122-producing-different-MD5-MAC-result-to-50571.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 15 Jun 2004 05:13:38 GMT</pubDate></item><item><title>Problem displaying Characters vertically in a JTextComponent</title><link>http://www.sagewire.org/java-misc/Problem-displaying-Characters-vertically-in-JTextC-50573.aspx</link><description>I've the following problem that is still unsolved since one month:

when in the content (StyledDocument) of a JTextPane two digits are following
each other - what you can test very easy - they shouldn't be displayed as
normal (from left to right), but from top to bottom. That means they should
have the same x-coordinates, but different y-coordinates. How can I do this?

I think I've to change the Viewfactory or the Editorkit... Please Help

I need this to display fractions and vectors (...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Problem-displaying-Characters-vertically-in-JTextC-50573.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 12 Jun 2004 05:06:30 GMT</pubDate></item><item><title>Pass form as a parameter to a method in an applet</title><link>http://www.sagewire.org/java-misc/Pass-form-as-parameter-to-method-in-an-applet-50577.aspx</link><description>Hi,

I have got an applet (MyApplet) in a page and I am calling a method,
from JAVAscript passing it all of my form elements in a String :

			for (var I = 0; I &amp;lt; myform.elements.length; i++) 
			{ 
					concString = concString + &amp;quot;	&amp;quot; + form.elements[i].name+&amp;quot;=&amp;quot;+
form.elements[i].value;
			}
			top.topwork.document.MyApplet.MACData(concString));

The loop takes a bit of time in JAVAscript since I've about 300
fields.

Is it possible to call the method with the form object, like
		...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Pass-form-as-parameter-to-method-in-an-applet-50577.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 12 Jun 2004 01:19:52 GMT</pubDate></item><item><title>Performance problems on Intel but not AMD... strange</title><link>http://www.sagewire.org/java-misc/Performance-problems-on-Intel-but-not-AMD-strange-50576.aspx</link><description>We've run into a problem with a few of our clients running Intel 
Pentium 4 (no hyperthreading) processors. Our web application under 
tomcat runs 20 - 30% slower on Intel (benchmarks scores are available) 
than a comparable AMD processor. Our shop uses AMD Athlon processors and 
we've no such performance problems at all.

We've had clients come to our shop to verify that the application is 
indeed faster here and they always say that it is significantly faster.

We've developed benchma...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Performance-problems-on-Intel-but-not-AMD-strange-50576.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 11 Jun 2004 08:11:23 GMT</pubDate></item><item><title>Problems with JAVAbeans activex bridge!</title><link>http://www.sagewire.org/java-misc/Problems-with-JAVAbeans-activex-bridge-50572.aspx</link><description>Hi, 

I have run into a rather odd problem. get Methods seem to return values
from the wrong methods! For example, let's pretend my activex control
stores values about a person. getName'd return their age, while
getAge might return null! Something is also going wrong with my method
that accepts input and returns a value (okay, it is a money conversion
program!)... it is returning null!

They are consistently returning the same, wrong values each time.

I've verified that all these met...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Problems-with-JAVAbeans-activex-bridge-50572.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 10 Jun 2004 16:49:55 GMT</pubDate></item><item><title>programmer required</title><link>http://www.sagewire.org/java-misc/programmer-required-50503.aspx</link><description>Hi,

If this is off topic, then a) please forgive me and b) please let me know
where I should be posting this.

I am a Macromedia Flash web application developer. I've developed an
online application that now requires some JAVA development. The general jist
of it that I've developed a photo sharing site using Flash / ASP &amp;amp; SQL. To
upload images, users currently have to use a standard HTML form. I am
interested in using a custom built JAVA applet to manage this. We are using
ASPupload, ...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/programmer-required-50503.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 03 Jun 2004 23:52:15 GMT</pubDate></item><item><title>running jar files from web.   - Tomcat?</title><link>http://www.sagewire.org/java-misc/running-jar-files-from-web-Tomcat-50532.aspx</link><description>I've a jar file that I am running from my PC and it works fine when
I launch it with the following command.

I type 'JAVA -jar test.jar' and it brings up a window and does what
its supposed to do.

but the problem is that only I can access it this way, I want other
people on the network accessing this as well and so I want to run it
from within a webpage so people can click on something and it'll
bring up same window on their desktop.

is this doable with JAVA embedded in html or do I...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/running-jar-files-from-web-Tomcat-50532.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 31 May 2004 04:21:33 GMT</pubDate></item><item><title>Ant and OutOfMemoryError exceptions</title><link>http://www.sagewire.org/java-misc/Ant-and-OutOfMemoryError-exceptions-50568.aspx</link><description>Hi,

I have hit a problem with ant throwing an OutOfMemoryError.  I will
describe what I'm doing and what I think is happening, and if anyone
can confirm this (or suggest an alternative) then that'd be great.

What I'm doing is using an ant build file to run a large set of junit
tests automatically and capture the results.  It compiles up my JAVA
code-base, then scans the path looking for unit tests to run, and runs
them in groups (depending on the type of unit test and it's
requiremen...</description><guid isPermaLink="true">http://www.sagewire.org/java-misc/Ant-and-OutOfMemoryError-exceptions-50568.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 30 May 2004 23:37:04 GMT</pubDate></item></channel></rss>