Java Application interface with MS Excel through DDE

We have a financial application written in JAVA and have requests from users that want to interface with the application. Meaning, They would like the Java application interface with Excel. For example, if you had a C++ application, you could create a DDE link in Excel that points to the C++ application and receive the data.
How could I do this with a Java Applictaion ? I was told that there was an application written that lets Java interface with Excel.
Any ideas or does anyone know ?

JNI

Similar Messages

  • Database design to support parameterised interface with MS Excel

    Hi, I am a novice user of SQL Server and would like some advice on how to solve a problem I have. (I hope I have chosen the correct forum to post this question)
    I have created a SQL Server 2012 database that comprises approx 10 base tables, with a further 40+ views that either summarise the base table data in various ways, or build upon other views to create more complex data sets (upto 4 levels of view).
    I then use EXCEL to create a dashboard that has multiple pivot table data connections to the various views.
    The users can then use standard excel features - slicers etc to interrogate the various metrics.
    The underlying database holds a single days worth of information, but I would like to extend this to cover multiple days worth of data, with the excel spreadsheet having a cell that defines the date for which information is to
    be retrieved.(The underlying data tables would need to be extended to have a date field)
    I can see how the excel connection string can be modified to filter the results such that a column value matches the date field,
    but how can this date value be passed down through all the views to ensure that information from base tables is restricted for the specied date, rather than the final results set being passed back to excel - I would rather not have the server resolve the views
    for the complete data set.
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    What other options do I have, or have I failed to grasp the way SQL server creates its execution plans and simply having the filter at the top level will ensure the result set is minimised at the lower level? (I dont really want the time taken for the dashboard
    refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    As an example of 3 of the views, 
    Table A has a row per system event (30,000+ per day), each event having an identity, a TYPE eg Arrival or Departure, with a time of event, and a planned time for the event (a specified identity will have a sequence of Arrival and Departure events)
    View A compares seperate rows to determine how long between the Arrival and Departure events for an identity
    View B compares seperate rows to determine how long between planned Arrival and Departure events for an identity
    View C uses View A and view B to provide the variance between actual and planned
    Excel dashboard has graphs showing information retrieved from Views A, B and C. The dashboard is only likely to need to query a single days worth of information.
    Thanks for your time.

    You are posting in the database design forum but it seems to me that you have 2 separate but highly dependent issues - neither of which is really database design related at this point.  Rather you have an user interface issue and an database programmability
    issue.  Those I cannot really address since much of that discussion requires knowledge of your users, how they interface with the database, what they use the data for, etc.  In addition, it seems that Excel is the primary interface for your users
    - so it may be that you should post your question to an excel forum.
    However, I do have some comments.  First, views based on views is generally a bad approach.  Absent the intention of indexing (i.e., materializing) the views, the db engine does nothing different for a view than it does for any ad-hoc query. 
    Unfortunately, the additional layering of logic can impede the effectiveness of the optimizer.  The more complex your views become and the deeper the layering, the greater the chance that you befuddle the optimizer. 
    I would rather not have the server resolve the views for the complete data set
    I don't understand the above statement but it scares me.  IMO, you DO want the server to do as much work as possible since it is closest to the data and has (or should have) the resources to access and manipulate the data and generate the desired
    results.  You DON'T want to move all the raw data involved in a query over the network and into the client machine's storage (memory or disk) and then attempt to compute the desired values. 
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    Correct on the first point, though there is such a thing as a TVF which is similar in effect.  Before you go down that path, let's address the second statement.  I don't understand that last bit about "used as pseudo tables" but that sounds more
    like an Excel issue (or maybe an assumption).  You can execute a stored procedure and use/access the resultset of this procedure in Excel, so I'm not certain what your concern is.  User simplicity perhaps? Maybe just a terminology issue?  Stored
    procedures are something I would highly encourage for a number of reasons.  Since you refer to pivoting specifically, I'll point out that sql server natively supports that function (though perhaps not in the same way/degree Excel does).   It
    is rather complex tsql - and this is one reason to advocate for stored procedures.  Separate the structure of the raw data from the user.
    (I dont really want the time taken for the dashboard refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    DTA has its limitations.  What it doesn't do is evaluate the "model" - which is where you might have more significant issues.  Tuning your queries and indexing your tables will only go so far to compensate for a poorly designed schema (not that
    yours is - just a generalization).  I did want to point out that your refresh process involves many factors - the time to generate a resultset in the server (including plan compilation, loading the data from disk, etc.), transmitting that data over the
    network, receiving and storing the resultset in the client application, manipulating the resultset into the desired form/format), and then updating the display.  Given that, you need to know how much time is spent in each part of that process - no sense
    wasting time optimizing the smallest time consumer. 
    So now to your sample table - Table A.  First, I'll give you my opinion of a flawed approach.  Your table records separate facts about an entity as multiple rows.  Such an approach is generally a schema issue for a number of reasons. 
    It requires that you outer join in some fashion to get all the information about one thing into a single row - that is why you have a view to compare rows and generate a time interval between arrival and departure.  I'll take this a step further and assume
    that your schema/code likely has an assumption built into it - specifically that a "thing" will have no more than 2 rows and that there will only be one row with type "arrival" and one row with type "departure". Violate that assumption and things begin to
    fall apart.  If you have control over this schema, then I suggest you consider changing it.  Store all the facts about a single entity in a single row.  Given the frequency that I see this pattern, I'll guess that you
    cannot.  So let's move on.
    30 thousand rows is tiny, so your current volume is negligible.  You still need to optimize your tables based on usage, so you need to address that first.  How is the data populated currently?  Is it done once as a batch?  Is it
    done throughout the day - and in what fashion (inserts vs updates vs deletes)?  You only store one day of data - so how do you accomplish that specifically?  Do you purge all data overnight and re-populate?   What indexes
    have you defined?  Do all tables have a clustered index or are some (most?) of them heaps?   OTOH, I'm going to guess that the database is at most a minimal issue now and that most of your concerns are better addressed at the user interface
    and how it accesses your database.  Perhaps now is a good time to step back and reconsider your approach to providing information to the users.  Perhaps there is a better solution - but that requires an understanding of your users, the skillset of
    everyone involved, what you have to work with, etc.  Maybe just some advanced excel training? I can't really say and it might be a better question for a different forum.   
    One last comment - "identity" has a special meaning in sql server (and most database engines I'm guessing).  So when you refer to identity, do you refer to an identity column or the logical identity (i.e., natural key) for the "thing" that Table A is
    attempting to model? 

  • How to run a pure java application client with ear deployed on 9ias

    Hello all,
    We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
    We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
    java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
    java.naming.security.principal=test
    java.naming.security.credentials=test
    Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
    Thanks,
    9ias user

    Refer OpenEJB User - Oracle ADF Essential and TomEE+
    Also refer Bug in tomee 1.5.2. Fixed in 1.6.
    https://issues.apache.org/jira/browse/TOMEE-756

  • Java application communicate with java card applet without java card

    Can I write java application to communicate with java card applet without using java card?
    Can I send APDU to java card applet on computer(not install in java card)? If it's not, how can I write?
    Best Regard,
    Thanawan

    Your JCOP simulator implements a JCVM/JCRE according
    to specs. The CREF does that same thing excepts it's
    only simulates the API without crypto or third party
    applets. JCOP simulator is more then that. They are using thesame_ codebase for simulator and for oncard JCVM. Basically you are dealing with the same environment in both cases.

  • How can java application integrate with SAP

    i need some help regarding.
    Actually we need a application which should work as standalone also which will be as java application
    and as well as mostly we are preferring that this application should be integrated with SAP system also.
    so please help me...
    Edited by: anant waghmare on Apr 22, 2008 10:45 AM

    If they are on seperate systems (ABAP & JAVA) you need to create a JCO connection

  • What Plug Ins enable you to interface with End Users through TFS?

    Hello. Currently I am operating off two systems; Managed Service Desk (IT Help Desk tickets) and TFS for more of our development projects. In order for me to get rid of the first application I need to find a plug in that will interact with TFS and allow
    me to make responses to my end audience without them needing a license for TFS. This solution (plug in) will allow my end users who are stakeholders to put in requests, bugs, user stories and allow me to respond to them through the plug in.
    Any recommendations?
    Thank you.

    Hi Laura,  
    Thanks for your post.   
    What’s the version of your TFS?
    In TFS 2013 Update 4, you can add the users to Stakeholder group using Change access levels feature in TFS Web Access, the stakeholders can view and edit work items, but they cannot request feedback. For more information, please refer to
    this document:
    https://msdn.microsoft.com/en-us/library/jj159364.aspx.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Scanning API in Java to interface with scanners

    Hi all,
    I have a case where a client has to scan a document from the attached scanner to the client machine through swing or signed applet. Is it possible in Java to do so.
    Rajeev

    I have JTwain installed according to the provided documentation as well as a CrossMatch fingerprint scanner with its SDK. I tested the
    scanner installation using ImageJ.
    On the server side of my app, I issue these lines of example code provided by JTwain:
    +Source source = SourceManager.instance().getDefaultSource(); // Acquire image from default source
    source.open();
    Image image = source.acquireImage(); // Acquire the image+
    The source opens but the acquireImage hangs. The scanner lights up but Tomcat goes to 99% cpu and remains in this state
    until I restart the Tomcat service. I am digging through logs looking for useful info.
    Has anybody had a similar experience with JTwain on Tomcat ? Perhaps I missed some configuration steps...

  • Can Java Applications deal with hardware without use JNI

    Thanks!!

    No.
    The JVM deals exclusively with existing OS software. So, for example, even though the hard drive is hardware, the JVM uses the OS io routines to talk to it.
    If you have a custom piece of hardware then you will need something similar.
    If it is a serial/parallel device then you can look at the comm api.
    If it is really unusual then you could write a miny driver server than uses sockets. Then the java app would just use on box sockets to control it so no JNI would be needed. (But C/C++ still would be required for the server.)

  • Java class integration with Oracle Identity Manager 9.1.0.2

    Hello Friends,
    I have a java class that is responsible for sending notifications, my question is how do the relationship of this class with the Oracle Identity Manager 9.1.0.2 so you can take the class and notify users when an application is approved or rejected.
    Any recommendation for this process.
    Thanks for the support
    Edited by: JLK on Jun 12, 2012 5:20 PM

    Hi
    Java class integration with OIM happen through concept of adapters. You can go through OIM documentation of how to create adapters.
    In your case you should create a process task adapetrs adn attach it on the Approved response code in your approval process.
    Desingn Console --> Process management --> Process definition --> <Apprlication Process Ex: AD User>.
    Alternatively you can also send notification using OIM OOTB email templates.
    Regards
    user12841694

  • Is it possible to run a java application within a web browser?

    Hello everyone here! I have a question about running a java application within a web browser and I would appreciate it very much if anyone here can give me some answers.
    I have a standalone java application written with AWT. Basically this free application lets users to select spectral lines from a big file based on some criteria and plot those selected lines. Yes, it is a very simple application. Now I want to run this application within a web browser so that users don't need to download the application from the ftp site and thus don't need to install in their machine. Is it possible to run this application within browser? If yes, can we get the same plotting function as we run the application separately and where should I start out?
    Thanks in advance!
    kuilian

    Please see the signed applet discussion group for details of how to avoid the applet security restrictions. You can sign the applet, or use the policy file containing {AllPermission} for testing purposes (though not suitable for widespread deployment).
    Regards
    Matthew

  • Providing sorting filters for a table in webdynpro java application

    ho to provide sorting  , filters , for a table in webdynpro java application .

    Hi Pradeep,
    Please go through the following article on implementation of filtering and sorting:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f024364b-3086-2b10-b2be-c0ed7d33fe65
    The article contains a link to a sample application using the TableSorter and TableFilter Class.
    The same classes can be used by any other web dynpro application. Download the sample application and copy the classes. In case of a specific requirement, modify the TableSorter and TableFilter classes.
    Regards,
    Kartikaye

  • How to put Java application in the MS. Windows System tray

    dear all,
    Is it possible to make a Java application communicate with the MS. Explorer and to put a Java application in the MS. Windows System tray
    Regards

    http://www.esus.com/docs/GetQuestionPage.jsp?uid=624
    or look for madcap on sourceforge

  • Java Database Interfacing

    Hi all,
    Im relatively new to java programming and have come from a PHP base of programming with mySQL, and was wondering what is the best way for me to get into database interfacing with java. Anybody know any good tutorials for me to try, also what is the best kind of database to use with java and why? Just doing a little research before i start to go all out learning one particular way. I would like to program java to interface with mySQL in the same way that PHP does, if anyone can enlighten me I would appreciate that..
    -Tom

    Ok i have done that now, I got postgresql and it now
    appears in the runtime databases section, how do i
    create a database with it because it seems to want
    the database URL in the following format:
    jdbc:postgresql://<HOST>:<PORT>/<DB> . All i want to
    know now is how to create a database to use That will be desribed in the docs provided by the vendor.
    and how
    what i would write in this field?Replace <HOST> with the name or IP address of the host where the DB is. Most likely localhost
    <PORT> can probably be skipped, sinc you'll probably be using the default port.
    <DB> is whatever you name the database you create.

  • Setting always on top makes it on top of non java applications.

    Hi all..
    If i set always on top property for my frame then my frame is always on top of all the application.
    While i want the frame to be always on top of my Java application not with other windows or any other application.
    Could you suggest me how to proceed for it.

    Typically an application only has a single JFrame, so it is either active or not.
    If you have child windows related to the main frame that you want to also be active when the frame is active then you use a JDialog and specify the main frame as the owner.

  • Java application installer

    hello all
    i�m looking for a java application installer with the following requirements:
    - distribute java classes in the appropriate directory
    - distribute database files
    - update classpath if necessary
    - register a OBDC datasource
    - create shorcuts
    where can i find such a tool??

    Check this link: http://www.zerog.com/products_ia_01.html

Maybe you are looking for

  • Ulimit "cannot modify limit" error when starting Apache

    This isn't exactly an OSX Server problem, but I am trying to start Apache and subsequently Tomcat on my MacBook Pro so I can locally test a website before I deploy it to our test server. (The MacBook is a new machine to which I recently migrated my s

  • Capture Gross ,Tare & Net weights of each receipt in MIGO.

    Hi All The requirement is to capture Gross ,Tare & Net weights container wise for all Goods receipts . either in MM or WM , is this feature availabele on standard SAP or how is it possible. Thnaks in Advance Kind Regards Samson

  • Salary Statement - No Form Exist

    Hi experts, I've been google all topic about no form exist while display salary statement form in ESS, but nothing solve the problem. salary forms is active the problems is in authorization because when we give SAP_ALL, employee can display the form.

  • Borders not working properly

    Hi all, I can't get borders to behave... sometimes I can manually format them, sometimes I can't. Sometimes I format just the outside border of a range of cells with a black line, and the inside grid shows up in print view as light gray... just of th

  • How do I import a folder of images without creating a new project?

    In Aperture 2.xxx I can import a folder of photos into the project and mimic the folder structure on my hard drive. For example, I export photos as tiffs into a folder that is a subfolder of the folder that contains the master raw files on my hard dr