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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DixieFlatline

  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

Part and Inventory Search

Back
Top