Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-18-2003, 04:34 PM   PM User | #1
SlickSoul
New to the CF scene

 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
SlickSoul is an unknown quantity at this point
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?
SlickSoul is offline   Reply With Quote
Old 07-18-2003, 06:07 PM   PM User | #2
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,224
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
Your description and question are kind of vague. You might wish to elaborate a bit more.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 07-18-2003, 06:25 PM   PM User | #3
SlickSoul
New to the CF scene

 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
SlickSoul is an unknown quantity at this point
Quote:
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.)
SlickSoul is offline   Reply With Quote
Old 07-18-2003, 06:33 PM   PM User | #4
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
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.
Roy Sinclair is offline   Reply With Quote
Old 07-21-2003, 04:35 PM   PM User | #5
SlickSoul
New to the CF scene

 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
SlickSoul is an unknown quantity at this point
Quote:
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?
SlickSoul is offline   Reply With Quote
Old 07-21-2003, 06:28 PM   PM User | #6
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
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.
Roy Sinclair is offline   Reply With Quote
Old 07-25-2003, 06:14 PM   PM User | #7
soccerdvy
New Coder

 
Join Date: Jul 2003
Location: Angier, NC
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
soccerdvy is an unknown quantity at this point
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
soccerdvy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:22 PM.


Advertisement
Log in to turn off these ads.