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...
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
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...
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...
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
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...
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
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...
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...
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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.