Solved

Talk to java program via ms access class module?

Posted on 2011-03-08
4
237 Views
Last Modified: 2012-05-11
Hi to every one:
I am asking about the class module in ms access.
Can I make one usable to all programming languages?
For instance , I need to make class module , accept the empID, and return all employee data.
Like his name, hireDate, department, … etc.
My scenario is:
1-      Press A button on a ms access form.
2-      The button trigger the class module .
3-      The class module send the empID to a java program (which is connect to oracle database), and receive the rest of employee data from oracle database via the java program.
4-      The reason is they don’t want the ms access program to connect directly to the oracle databse.
Is it poseple? And is it good approach to do so?
Please help.
0
Comment
Question by:Mohammad Alsolaiman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Gugro earned 500 total points
ID: 35073206
Yes, thats the right approach. I am using a similiar approach too, but not with Java but with Ruby on Rails.
The Java program should provide a SOAP or a XML interface.

Have a  look at:
http://metrix.fcny.org/wiki/display/tips/How+to+Create+a+Microsoft+Access+Client+for+a+SOAP-based+Web+Service+API
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 35083693
will they not let you connect to oracle using odbc, if they set up a user as readonly on oracle and you use that to create your odbc?
0
 

Author Comment

by:Mohammad Alsolaiman
ID: 35084156

Gugro solution is very nice to me
Sudonim they allow for single record only. For security purposes .
0
 

Author Closing Comment

by:Mohammad Alsolaiman
ID: 35110330
thanks to all of u
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question