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 strongm 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. DixieFlatline

    How to setup a cluster

    Hi, I am new to WebSphere and am having a heck of a time trying to setup something similar to a WebLogic cluster. I tried to setup a server group but cannot get round-robin nor fail-over to work. In WebLogic, I can be connected to one of the cluster servers and if I shut the server I am on, I...
  2. DixieFlatline

    RMI server & db communication issue

    did you commit the changes? Dix
  3. DixieFlatline

    .awt or .swing?

    Swing wigets are light weight components. It is definitly the way to go. It is much faster (due to not thread safe and light weight). Dix
  4. DixieFlatline

    pointer to function??

    btw, if you are interested, the answer to your original question is yes. Function pointer functionality can be achived via reflection. Method name or id can be passed to an object and via reflection, an object can instantiate a class and or execute a method. Take a look at the Sun tutorial. Dix
  5. DixieFlatline

    Custom template databound control won't generate content

    Hi, Using the example provide by Microsoft, I created a a databound template control that iterates through a custom collection. When I test this control using an aspx, I can see the the control is iterating. I can see the format I put into the template being generated i times for i equals the...
  6. DixieFlatline

    A question

    what kind of problems? Swing will work fine on almost all computers today. It has a pluggable look and feel. It's can multithread using swing workers. It can be converted to an applet easily for web delopyment. Or if you want, a computer with Java Web Start can download the program on the...
  7. DixieFlatline

    applet uses socket in a separate thread :-)

    You should be able to just add the id attribute back into the applet tag. Just leave all the fluff around before and after the applet tag alone. Add the id attribute back where ever you see a <applet> tag. Dix
  8. DixieFlatline

    Getting computer's IP address

    InetAddress localHost = InetAddress.getLocalHost(); System.out.println( localHost.getHostAddress() ); Dix
  9. DixieFlatline

    applet uses socket in a separate thread :-)

    Being lazy, i didn't read all your applet code yet. I did noticed that you are using a straight <applet> tag in IE... which means that you will be running the MS crap vm... download the HtmlConverter from java.sun.com and run your html page code that contains the applet tag on it. It will add...
  10. DixieFlatline

    A question

    good point, now that's what a real programmer would do. While we are at it, may I suggest stored proc data access and/or resource bundle storage of sql str. Dix
  11. DixieFlatline

    faster access to web site for special users

    hummm... the 50/50 split is just an example. Let's just say you have 200 concurrent connection to your db right now and you have thousands of concurrent users at peak times. I would assume, if it is a data intensive application, that most of the time will be spent waiting for connections...
  12. DixieFlatline

    faster access to web site for special users

    I am just brain storming out loud here... I think that you can achieve this my first doing validation, using whatever method you like to use. Then perhaps a session or an entity bean that can check privilege of the user. Based on the privilege, you can instantiate different session or entity...
  13. DixieFlatline

    A question

    if you are talking about console app then just use System.Out but if you want to do some formating of the text output, it's a little harder to do in Java. I suggest you use a Swing table... Dix
  14. DixieFlatline

    Calling a dll

    You are trying to call dll methods from a Java program? And you are trying to do this by import myDll.dll... You might want to take a look at JNI, Java Native Interface... What you are doing is so wrong that... well, not possible. Check out JNI in java.sun.com Dix
  15. DixieFlatline

    JDBC - MySQL - Help

    remember the java package directory structure... from what i understand you unarg'ed the jar. make sure the class files are in /org/gjt/mm/mysql directory and not mm.mysql-2.0.11\org as for ext... i am not sure by default ext is in the classpath be safe and put the jar somewhere else and...
  16. DixieFlatline

    PreparedStatement/Parameter Error

    maybe it would, but from what i have seen and used to date, prepared statements are pretty iffy... it works if it is used perfectly... otherwise it dies pretty badly... it maybe easier to use resource bundler and get your sql pieces and build up the sql str yourself. a better practice yet is to...
  17. DixieFlatline

    PreparedStatement/Parameter Error

    you do know that the &quot;?&quot; is required... that's the syntax... check out the doc on java.sql package the method is implemented to look for '?' char, how can you just change the pre-condition of the method.
  18. DixieFlatline

    Portabuility Issue

    Humm... Sun had been arguing that need for &quot;write once, run anywhere&quot; for years now. And MS lovers had always said that it is a load of cr&quot;p. I guess you just found out first hand that it is not.... Anyway, currently as it stands, there is no way to port to solaris. Even...
  19. DixieFlatline

    'cannot resolve symbol' error

    Notice how you never imported the Oracle driver. You are trying to use a class that the compiler does not understand - oracle.jdbc.driver.OracleDriver the correct way to write this section is... import java.sql.*; class JdbcCheckup { Connection conn; JdbcCheckup() throws...

Part and Inventory Search

Back
Top