Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jul 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Need to develop a tool which can work with Java and VB both!

    Hi

    I need to develop a tool which can work with Java and VB both!

    Are there any ideas? What should I do?

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Your description and question are kind of vague. You might wish to elaborate a bit more.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    New to the CF scene
    Join Date
    Jul 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by Spookster
    Your description and question are kind of vague. You might wish to elaborate a bit more.
    Well there is this application running in VB and this application running on Web Logic in Java - there is a need to develop a tool which will be accessed by both the applications seperately to carry out a common task of doiing mathematical calculation and then storing the value in the database. Is there anyway to do this? Or does two tools have to be built - one in VB and the other one in Java? (I want to avoid the double work to be done and was wondering somehow if only one tool can be made to do this and then which can be accessed by both the applications seperately and this make the effort easy and make the work little lighter.)

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you've got a smarter database you can put the logic for the calculation into the database itself. With SQL Server you'd use what is called a Stored Procedure, I'm not sure what Oracle or DB2 call it but they all provide a similar (but definitely not the same) capability.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #5
    New to the CF scene
    Join Date
    Jul 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by Roy Sinclair
    If you've got a smarter database you can put the logic for the calculation into the database itself. With SQL Server you'd use what is called a Stored Procedure, I'm not sure what Oracle or DB2 call it but they all provide a similar (but definitely not the same) capability.
    Hmmm..I'm thinking will this affet the performance of the database in the production environment?? Also, is there any other way beside doing it in the database?

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can code the same logic into two different languages. You were asking for solutions which avoided that. Unless you expect a massive amount of traffic using this I don't expect the load on your database server would be intolerable.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #7
    New Coder
    Join Date
    Jul 2003
    Location
    Angier, NC
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you could always try developing in a language like C and having it access the outside programs with direct commands. You could build the support for both of these programs into a new C lib. That way you would be able to communicate with both of the two technologies and do math directly using the logical operators in C.
    No matter what happens, someone will find a way to take it too seriously -- Joe Davy

    www.axiscreations.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •