| Thread | Last Post | Replies |
|
| LinkedHashMap::put: object destroyed too soon? | 29 Apr 2005 05:46 GMT | 8 |
With method LinkedHashMap::put, would myMap.put("aKey", someObject); still have a reference to the key "aKey" (and therefore, someObject) if myMap is returned by a function?
|
| Serialize and deserialize object to and from text | 29 Apr 2005 05:21 GMT | 2 |
I am looking for a text encoder and text decoder for object serialization and deserialization. Any one have work on such a tool before and can share the source code? I have the encoder working using recursion and reflection, but I don't
|
| Generics the way of the future? | 29 Apr 2005 02:56 GMT | 10 |
Hi i like to know what you think about/experiences of using generics in java. Does it really make life easier? What are the advantages of using generics and where should I avoid using it (if that is true)?
|
| Run a Java packaged inside a Jar | 29 Apr 2005 02:41 GMT | 2 |
I am new to Java and I am working on web services directly. I have a quick question to you gurus. I want to run the command java org.apache.axis.client.AdminClient but i get a error saying
|
| tomcat error 500... | 29 Apr 2005 02:13 GMT | 2 |
Hello all, i am trying to load a class file into a JSP page and getting a few errors...what ive got is a simple form, that reads a username, password, and submits it to a login.jsp file. my login.jsp looks like:
|
| cached backed or self-emptying map | 29 Apr 2005 01:09 GMT | 2 |
I'm trying to cache objects that are expensive to load from the database, but I need the 'visible' object to be a Map so I can use it with JSTL. I set about extending AbstractMap and the 'get' method was easy, but I got stuck on the 'entrySet' method. The cache I'm using does not ...
|
| cohesion in Java | 28 Apr 2005 23:49 GMT | 1 |
just wondering how concepts of structural programming apply to java. some of them are valid but others seem out of date. please comment. concept of 'package' promotes high
|
| Beginners Question: Is overloading really needed? | 28 Apr 2005 23:13 GMT | 8 |
I'm trying to write a library-class which contains a method for which I don't know in advance the data types the programmer will present to this method. No I have implemented this as follows:
|
| TO ALL NEWBIES | 28 Apr 2005 22:51 GMT | 1 |
Please do yourself the favor of "Learning how to program" in a procedural language first like C or QuickBasic, Pascal? Stay out of Windows/GUI Progamming until you have mastered pointers, variable referencing, file I/O, text based interface creation, basic graphics libraries, you ...
|
| my java thinks in chinese | 28 Apr 2005 21:51 GMT | 1 |
I'm running win xp sp2, AFAICT every OS language option is set to English (GB). However, whenever I execute the java console, or the java update or an applet, the text appears in an asian font (I'm not fluent enough to know which one it is). When using other java tools
|
| Writing to a file on webserver | 28 Apr 2005 20:13 GMT | 1 |
I have an EJB that passes a vector of data to another java class and that class writes that vector to a file. I can get this to run on my local server using WSAD. I can delete, create and write to this file. However, when I put it out on the server (AIX box) I can't get it to do
|
| ant inherifRefs & echo for variables | 28 Apr 2005 19:51 GMT | 2 |
Hi! I'd like to see what ant thinks a variable value is. <echo>${varname}</echo> just shows me the literal '${varame}'. I was hoping there was some way to resolve it. The reason I want to do this is that delegate build.xml's don't seem to
|
| Why generics for the Class type? | 28 Apr 2005 16:21 GMT | 2 |
Why does the Class type use Generics? Or in other words - how am I supposed to use it? I store certain Classes in hash tables, and then create dynamic instances of objects according to the correct type at run-time. What "type of class"
|
| How to add an object to an Enumeration | 28 Apr 2005 16:13 GMT | 3 |
I'm trying to make a method in a jsp-file like this one: The method has an Enumeration object and a String object as arguments. Don't bother about the validation, it is taken care of by another method. Just assume that it turned out OK.
|
| Calling a Class from a JSP file... | 28 Apr 2005 15:00 GMT | 2 |
Im a relativly familiar java programmer, but quite new to JSP and i have a basic (possibily dumb) question. I looked around on the web, but didnt find anythign that really answered by question. i have a java class MyClass.class
|