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!

Search results for query: *

  1. AlistairMonkeyFinger

    Single concurrent user access

    Hi all, I have some data in a database and am about to start to write a simple querying / viewing application (probably Swing/webstart, maybe JSP). Because of the nature of the data, we are only licensed for a single concurrent user, so i have to make sure that not more than one person can use...
  2. AlistairMonkeyFinger

    Java versions with Oracle 8.1.7

    FYI I got in touch with Oracle and they said that with Oracle 8.1.7 you cannot upgrade the jvm from 1.2.1 without upgrading the rdms. From what i've read, an upgrade to Oracle 9.2 runs jvm 1.3.1, and 10g will run jvm 1.4+ Looks like an upgrade for me then [pc3][sleeping2] Alistair [monkey]
  3. AlistairMonkeyFinger

    Java versions with Oracle 8.1.7

    Thanks Ken, i don't have a problem installing Java on Linux as such, just need to know what versions i can use with Oracle. Can i use a standard Sun JVM or do i need to use a specific Oracle implementation ? Which versions are supported ? How do i upgrade ? Cheers Alistair [monkey]
  4. AlistairMonkeyFinger

    Java versions with Oracle 8.1.7

    I'm running on Linux Red Hat. Just had a dig about and it looks like i'm running Java 1.2.1 I've double checked the third party libraries and it looks like they will run on 1.3.1 or later. Anyone know how to upgrade to 1.3.1 or later ? Thanks guys Alistair [monkey]
  5. AlistairMonkeyFinger

    Java versions with Oracle 8.1.7

    Anyone know what versions of Java are supported with Oracle 8.1.7 for Java stored procedures ? I have a feeling that only up to 1.3 is supported which is a problem when Java stored procedure code that uses third party jars written against 1.4+ If 1.4+ is supported, does anyone know the...
  6. AlistairMonkeyFinger

    Disconnect and reconnect to an EJB

    Hi all, i want to do the following but i'm not sure if it's possible. I want a client app to create a instance of an EJB on the server, give it some parameters then disconnect (shutdown) leaving the EJB to go away and process a large amount of data. Throughout the duration of the processing i...
  7. AlistairMonkeyFinger

    Use of Message beans ?

    Hi all, i have an application currently running where a client app is talking to a number of session beans on a single app server. i need to extend the functionality to interface another non-java application i have running on a different server. Unfortunatley this other application can only can...
  8. AlistairMonkeyFinger

    Basic question float vs double

    Ah, ok, i think i have a casting problem... float f1 = 80; float f2 = f1 / 100; float f3 = 80 / 100; System.out.println(f1 + " " + f2 + " " + f3); gives 80.0 0.8 0.0 80 / 100 is two ints divided and not casted automatically to floats, it should be 80f /...
  9. AlistairMonkeyFinger

    Basic question float vs double

    Quick general question, just came across a bug in my code becuase of this[surprise]: float myf = 80f; float result1 = myf / 100; float result2 = myf / 100f; Why is result1 = 0.0 and result2 = 0.8 ? I guess it's something to do with 100 being a double and 100f being a float but i don't quite...
  10. AlistairMonkeyFinger

    Running Linux batch file from windows in java (!)

    Thanks Sedj, i guessed i would have to use RMI maybe. One other option maybe to set up a Java daemon on the server polling for a file to be created, once it appears then i could get it to fire the script off using Runtime.exec() Is there a good way to listen for a file being created in java...
  11. AlistairMonkeyFinger

    Running Linux batch file from windows in java (!)

    Hi, Maybe not strictly a java question but... i have a Java program i am working on, it runs on a Windows PC and needs to do the following: 1.) Copy a file from windows to a Linux server Easy enough, set up samba on linux and use java.io classes. 2.) Execute a batch file (.sh) on the Linux...
  12. AlistairMonkeyFinger

    Exposing EJB's externally

    Sedj, thanks for you reply, very useful. The main thought behind running proxy EJB's on the DMZ is that the DMZ could be used as a general DMZ for multiple different applications wether they be Java based or otherwise. In this way we have a single entry point and the DMZ is only interested in...
  13. AlistairMonkeyFinger

    Exposing EJB's externally

    Currently using EJB1.1 (using the Oracle OC4J server). So basically i set up another EJB server on my public server and have all the methods point to the protected EJB's on my private server ? Sounds good. I was hoping that maybe that there was a way i could just publish a remote interface to...
  14. AlistairMonkeyFinger

    Exposing EJB's externally

    Hi, i'm looking at security issues when exposing our internal web start app (which communicates with EJB's on an app server) to external clients over the net. My concern is that i don't want to expose the whole application server to the outside world but rather have another layer which would...
  15. AlistairMonkeyFinger

    Swing refresh problem

    OK, the problem i have is that when the button is pressed i am calling a method that returns a class that extends JTable, so i don't have the TableModel itself. I know that it's not ideal for a method in another class to return a class that extends JTable but i have to live with it [neutral]...
  16. AlistairMonkeyFinger

    Swing refresh problem

    Hi, struggling with some basic swing code, excuse the bad practises here, but i've created a simple example of a JTable and a JButton in a JFrame, when i click the button the table should change but it doesn't. The code is posted below, i've tried all sorts of cominations of using repaint...
  17. AlistairMonkeyFinger

    LDAP authentication

    Hi, i'm using some VB6 code to try and authenticate a user from a DCOM component... Set oIADS = GetObject("LDAP:").OpenDSObject("LDAP://" & sNTDomain, sUserName, sPassword, ADS_SECURE_AUTHENTICATION) If the object is created then login is successful. This works...
  18. AlistairMonkeyFinger

    Seeking IDE recommendation

    Yeah, kind of depends what environment you work in to some degree, if you work in a "quality" environment where there are a number of developers and software lifecycles and software is to be released externally or to the enterprise then code must be of high quality and the developer...
  19. AlistairMonkeyFinger

    Map that contains duplicates ?

    If i did them in an array i would have to implement sorting myself (which i'm trying to avoid). I've tried hologram's Vector in a sorted Map suggestion which made for some interesting loop code but seems to work ok. Cheers Alistair [monkey]
  20. AlistairMonkeyFinger

    Seeking IDE recommendation

    I used to be a VB programmer ([evil]) but have been converted [thumbsup]. I get on pretty well with Oracle JDeveloper but mainly because i'm doing stuff with EJB's and it integrates well with Oracle containers. It does have a GUI designer that isn't too bad either but i don't use it much. Most...

Part and Inventory Search

Back
Top