| Thread | Last Post | Replies |
|
| JDK1.5 Xpath problem | 15 Sep 2006 18:52 GMT | 1 |
I'm using, for the first time, the JDK1.5 Xpath API. I need to find elements in a Hibernate-generated .hbm.xml file. These files come with a <!DOCTYPE header mentioning a remote URL. The Xpath parser fetches the URL from the hibernate.sourceforge site. So far so good.
|
| printing problem | 15 Sep 2006 18:21 GMT | 2 |
int a = 5; System.out.println("Value is - " + ((a < 5) ? 9.9 : 9)); output: 9.0 where from 9.0 came from ? there is 9 but NOT 9.0
|
| Cross-platform installer package? | 15 Sep 2006 18:17 GMT | 17 |
Does anyone know of a cross-platform installer package? Scanning Google, it appears that the installer package landscape is all focused on specific operating systems.
|
| I am always afraid of this code | 15 Sep 2006 18:14 GMT | 2 |
I am always afraid of this public class Static { static
|
| Swing in different 2 threads | 15 Sep 2006 16:56 GMT | 4 |
I had interview question. She asked me if you have 2 threads and you have class extending from the JFrame you can safely display class from each thread or not and why? I do not know answer. I know recomendation is to work with Swing from only main thread. Can someone explain me
|
| Processcommunication with Java, be informed whe process finishes. | 15 Sep 2006 16:37 GMT | 3 |
I have a java programm which shall open a Browser with a certain URL AND!!!!! if this browser window is closed from a use after a while, the java programm should be informed about this. The following code is what I did. I am able to open a browser OS
|
| Amazing: Vector can have elements of different types!!! | 15 Sep 2006 16:36 GMT | 4 |
I just realized/found that in Java, Vector can have elements with different types. I guess other collections are the same. See my code below. I don't know Generics from Java 5.0. But I am really amazed that heterogenous types of data can be put in the same place(Vector).
|
| Staless Session EJB and DAO | 15 Sep 2006 16:33 GMT | 2 |
I'm using stateless session EJB which uses DAO class for data manipulating. The question is should I get DB Connection object from EJB and give it for DAO class to be used or is it better idea that DAO class would open Connection
|
| Struts-config.xml | 15 Sep 2006 13:59 GMT | 2 |
I wanted to pass a parameter with my .do file in struts-config.xml, but I am not successful in that. I specifically want <action path="/submit.do?name="smith".........>. Is there a way I can use this or is this not allowed in struts?
|
| Can we over-load "+" in Java? | 15 Sep 2006 13:53 GMT | 12 |
Suppose I have following classes: class Person { ... }
|
| how to get configuration settings | 15 Sep 2006 13:38 GMT | 4 |
I am running apps on a solaris and windows box. Where are the configuration parameters set and how can I dump the settings. thanks your help john
|
| generate java bean from an xml file? | 15 Sep 2006 12:58 GMT | 7 |
hi.. first don't say xsl, it has some drawbacks (like being too complex) i' was wondering if there is some infrastucture like an object model or something like it that can generate javabean code (i have a custom xml
|
| How to do a cheap sms-gateway through J2ME? | 15 Sep 2006 12:40 GMT | 3 |
I have an idea how to create a simple and cheap sms-gateway which can be used with different webservers (php, jsp, asp and so on). Now can you tell me if this would be possible at all? The idea is as follows:
|
| JMS messaging question | 15 Sep 2006 10:44 GMT | 2 |
I'm having some trouble with JMS messages. I have the following method to put a message to a SonicMQ queue via JMS and I want to read the response message that comes back. I am putting the message successfully, but the code times out every time when trying to get the response. ...
|
| Multiple Class Instances and Memory | 15 Sep 2006 09:46 GMT | 1 |
I haven't had to consider memory or questions of speed vs. memory before, but now I'm trying to plan out several data structures that are at the heart of an application. Essentially, I need a number of data tables, imported from a database and put in a format I can easily work with ...
|