Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hologram

    JBuilder X Foundation: differences between Enteprise and Developer

    You can find a comparison between the versions at : http://www.borland.com/jbuilder/pdf/jbx_feamatrix.pdf
  2. hologram

    Daemon (starting / stopping)

    I would also go for the socket appoach (maybe in combination with the lock). You could make a (small) http server to manage yout daemon(s) in the same way as you can configure / manage a router or any network attached device. Since your daemons are running on several machines, you can administer...
  3. hologram

    DB independent JDBC

    The Observer wrote So, basically, I need to find a way to use getConnection(...) that will either use ONE string parameter for all DBs, or THREE strings parameters for all DBs I want to use with this code. I should be able to pull this info from the ResourceBundle and use one programmatical...
  4. hologram

    Grid with checkboxes

    In your tableModel do you implement the methodpublic Class getColumnClass(int column)to return a "class.Boolean" for that column ?
  5. hologram

    J2EE book suggestion

    There are a lot of articles at "The server Side" http://www.theserverside.com/ --> Articles http://www.theserverside.com/articles/index.tss
  6. hologram

    Can we load multiple libraries into a single class with System.loadLib

    I never used JNI, but I have a question for you. In class "Example" you have a method public native int A(String in); And in class "Ex" you have a method public native int A(String in); does that mean that the method is both in library "API2" and in library "API3" ?
  7. hologram

    Java License question - When to pay license ?

    Same disclaimer as sedj ... If you, instead of changing the source code, just extend it (you don't want to change the classes in the jdk anyway), you don't have to pay any license. The client just has to download the jdk or jre from Sun... It's then up to the client if he has to pay any license...
  8. hologram

    Exceptions in bean getting converted to Remote

    Have a look at : "Best practices in EJB exception handling" http://www-106.ibm.com/developerworks/java/library/j-ejbexcept.html
  9. hologram

    sockets, servers, clients, "MUD" project

    In my last post in thread269-784497 there is code for a multi-threaded HTTP server.
  10. hologram

    Syncronized vs. DB Transaction

    >>I have a table that I need to make sure is updated in a transactionally clean fashion. >>Meaning only one client can update it at a time. This is not the same thing. Transactions are used so that updates to multiples files are done to ALL the files or NONE at all. If you are talking about 1...
  11. hologram

    Java and Binary Packets, Network Byte Order

    Like Stefan Wagner said, you'll have to take a look at java.nio... e.g. ByteBuffer --> getShort(), getInt(), getLong(), ... ... the bytes will be marshaled to or from the requested primitive data type according to the current byte-order setting in effect for the buffer. ByteBuffer has a method...
  12. hologram

    Database

    Can't you access the foxpro files directly from java ? (or via JDBC ? ) pfig, it seems that you are getting more questions than answars ;-)
  13. hologram

    What is: The Lucene Project

    There is an article about Lucene at javaranch (April 2004) http://www.javaranch.com/newsletter/200404/Journal200404.jsp#a1
  14. hologram

    Disconnect and reconnect to an EJB

    IF you want to do it with EJB, have a look at "Message-Driven Beans" to see if they might be helpfull. See the EJB articles at : http://www.theserverside.com/articles/index.tss
  15. hologram

    Desktop test

    The reason why the first click on the InternalFrame does not work is because the first click is used to activate/focus on the InternalFrame. A work around could be to add the following : In the method InternalFrameActivated(), you can do ... whatever you want. On the first mousePress on the...
  16. hologram

    Compile err: "No enclosing instance of type ..."

    Your main method is static. WinCloser is not. So if you change class WinCloser extends WindowAdapter to class WinCloser extends WindowAdapter your problem is solved. What I normally do is get out of the static context as soon as possible : public static void main(String[] args) {...
  17. hologram

    exception handling

    I think you have to put a 'try/catch' around every single statement that can throw an exception and just fall through (continue with the statement after the catch block). I don't think there is a "clean" way to jump back. This is a pure java question, on forum269 you will get more answers faster.
  18. hologram

    char declaration

    Because, like Ion Filipski says : '\u0020" is the space character '\u0032' is the character '2' If you need "32" then you need two chars, you can't get it in 1 char : '\u0033' is the character '3' '\u0032' is the character '2' You can find the ascii table at : http://www.asciitable.com/
  19. hologram

    java mail recieve

    From "Java 2 Network Protocols. Black Book" (Al Williams) from Coriolis POP3 : // JavaMail Demo -- Williams import javax.mail.*; import javax.mail.internet.*; import java.util.Properties; public class JMailDemo { public static void main(String args[]) throws Exception { String host =...
  20. hologram

    char declaration

    char big ='\32' means octal 32, which is = 3*8+2 = 26 in decimal or 1A in hex. char big ='\u0032' means unicode 32 which is in hex.

Part and Inventory Search

Back
Top