Db with a standalone application

hi all.
i'm sorry if this is not the right forum for this question but it's the best place i could think of...
up untill now when i needed to save data i would usually use databases (mysql in most cases) or xml.
this worked fine because i mostly work on web-based application so there's a db server installed on the server.
what if i want to use a database on a standalone application? it's not a good solution to tell everyone which will use the application to download a db server and install it, right?
so what do i do? thanks!

One possibility is to use a Java-based embeddable database, such as hsql db (there's a t least another good choice, which escapes me this morning).
http://www.hsqldb.org/

Similar Messages

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • Standalone application can't get JDBC data source from Weblogic 10.3

    We have the following configuration :
    A Weblogic server 10.3 (default installation).
    The server contains a JMS queue (jndi name: "DMQ") and JDBC data sources (jndi names: Oracle thin XA - "dataSource", MS SQL - "dataSource1")
    We have built wlfullclient5.jar for Java 1.5 ([http://edocs.bea.com/wls/docs103/client/jarbuilder.html#wp1078122]) (according to the docs)
    And now we use a test standalone application with the wlfullclient5.jar :
    public static void main (String[] args) throws NamingException {
    bq. Hashtable<String, String> env = new Hashtable<String, String>(); \\     env.put(Context.+INITIAL_CONTEXT_FACTORY+, "weblogic.jndi.WLInitialContextFactory"); \\     env.put(Context.+PROVIDER_URL+, "http://serv1:7001"); \\     env.put(Context.+SECURITY_CREDENTIALS+, "weblogic"); \\     env.put(Context.+SECURITY_PRINCIPAL+, "weblogic"); \\     InitialContext ic = new InitialContext(env); \\ \\ System.+out+.println("Get DMQ"); \\     ic.lookup("DMQ"); \\ System.+out+.println("Get dataSource"); \\     ic.lookup("dataSource");
    bq. System.+out+.println("Get dataSource1"); \\     ic.lookup("dataSource1"); \\ System.+out+.println("Done"); \\
    Here is the output when connected to WLS 10.3:
    bq. Get DMQ \\ Get dataSource \\ Exception in thread "Main Thread" java.lang.AssertionError: Failed to generate class for weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:790_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_) \\ Caused by: java.lang.reflect.InvocationTargetException \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:381_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:26_) \\ Caused by: java.lang.ArrayIndexOutOfBoundsException: 6 \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.ensureInitialized(Unknown Source) \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.<init>(Unknown Source) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_)
    But at the same time the output when connected to WLS 10.0 is :
    Get DMQ \\Get dataSource \\Get dataSource1 \\Done
    (so that the test passed)
    Could you give me a piece of advice ?
    Thanks,
    Sergey

    I hit the same problem as yours. This issue is caused by JDK version. The JDK used by Weblogic 10.3 is java 6, while your client program's jdk version is java5. So change the both of them to java 6. This issue will be fixed.
    Don't forget to rebuild the wlfullclient.jar which also should be java 6.
    Good luck!

  • Run standalone applications on E-Business Suite Application Server

    Hi,
    Environment Details:
    Database - 10.2.0.3
    Apps. - 12.0.3
    We have a 6i client-server Forms & Reports application that we want to web-enable. This is a standalone application that has no integration with the E-Business Suite. We would like to use the E-Business Suite application server forms and reports servers to run this application too.
    I had two questions:
    1. Are there any documents available that would document best practices for such a scenario?
    2. Is it possible to create a standalone report server on the E-Business Suite reports server or is there a way to integrate the standalone application reports with the EBS report server?
    Thanks,
    Ramesh

    Ramesh wrote:
    Hi,
    Environment Details:
    Database - 10.2.0.3
    Apps. - 12.0.3
    We have a 6i client-server Forms & Reports application that we want to web-enable. This is a standalone application that has no integration with the E-Business Suite. We would like to use the E-Business Suite application server forms and reports servers to run this application too.Since you are on R12, you need to use Developer 10g (since Developer 6i is not certified with R12).
    Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
    How To Bring Up 10G Forms Builder In R12 Environment? [ID 579318.1]
    How To Upgrade 11i Custom Forms To R12 [ID 563258.1]
    Accessing Custom Forms After Upgrading From To R12. [ID 451934.1]
    I had two questions:
    1. Are there any documents available that would document best practices for such a scenario?Yes.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Top+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Forms+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Oracle E-Business Suite Developer's Guide
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/toc.htm
    2. Is it possible to create a standalone report server on the E-Business Suite reports server or is there a way to integrate the standalone application reports with the EBS report server?Register your reports as concurrent programs and let the concurrent manager take care of the processing.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12893/toc.htm
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/toc.htm
    Thanks,
    Hussein

  • Servlets Vs Standalone Application?

    Servlets Vs Standalone Application?
    I know this is an extremely broad subject, but put very simply can anyone give me a basic list of pros & cons in writing an application on a network with either of the two mentioned technologies?!?
    We will need security, efficiency, speed etc as well as an intuitive interface!!
    Not much to ask i know!
    cheers now!

    Servlets:
    +Easier to deploy
    +Upgrading easier (Just upgrade one instance)
    -Interface somewhat limited
    +Security is centralized
    Standalone
    -You have to deploy to every client
    -Upgrading is cumbersome, especially when the new version is not backwards compatible, and you need a big bang upgrade.
    +Highly interactive interfaces (Swing)
    -Security can be a problem (e.g. clients can be forged), when it is not centralized.
    The speed of the application is dependent on the kind of application. It depends on the complexity of the UI, whether data is on a central server or local, etc.
    --Arnout                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Standalone application through BOE SDK

    Hi,
      I am new to SDK development so trying out different things with the SDK. The first experiement that I did was trying to build a standlone application through BOE SDK. The main purpsoe of this application is to connect the enterprise and get some details about an info object. But while building out this application I have noticed few issues:
       1. The getInstalledAuthIDs method of the ISessionMgr class is not returing any available authentication types.
       2. While trying to login using the logon method of the ISessionMgr using the secEnterprise as Enterprise, it's throwing the following exception:
        com.crystaldecisions.sdk.exception.SDKException$PluginNotFound: The plugin secEnterprise does not exist
         at com.crystaldecisions.sdk.occa.pluginmgr.internal.PluginMgr.getPluginInterface(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.o.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.l.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.framework.internal.d.logon(Unknown Source)
         at com.bo.boesdk.tutorials.Login.createEnterpriseSession(Login.java:41)
         at com.bo.boesdk.tutorials.Login.main(Login.java:55)
      I have noticed that all tutorials associated with SDK are all using eithe JSP/ASP to demonstrate features of SDK. There is none exists on using the standalone application. Is it we can't build any standalone application using the BOE SDK?

    The BusinessObjects Enterprise SDK is only tested and fully supported in web applications - that's the reason why the documentation only describes its use in JSP/Servlet code.
    As for the specific exception you're getting - it may be caused since you're missing jar files.
    If using XI Release 2, then I'd reference the jars found by default in <install>\common\3.5\java\lib and <install>\common\3.5\java\lib\external.
    If using XI 3.0, then I'd use the documentation found [here|https://boc.sdn.sap.com/node/7298].
    Sincerely,
    Ted Ueda

  • DAQmx drivers needed to calculate statistics in a standalone application ?

    Hi!
    My standalone application analyzes measured data and saves statistics into Access database. It uses Statistics express VI, among the others. It does not use any data acquisition library. I've made an installer to install it on my customer's computer. After installation I tried to run the application but an error occured (see below).
      Well, it works now (after few hours). But my opinion is that my solution is a little bit strange: I simply installed DAQmx drivers.
    1. Is this a bug ?
    2. How to explain my customer why does he need 1GB of hardware drivers ?
    Fortunately, It was not necessary to use any special procedure tu run Database Connectivity Toolset: see this link, for example
    Best regards ,
    Ljubo.
    P.S.: Developer Suite 8.6, Win XP Pro, DAQmx 8.8, MS Office 2003.

    Hi Dennis,
    let me repeat the whole story once again:
    About
    two years ago the same problem occured (with LabView 7.0 or 8.0, I
    don't know exactly). Our local NI representative happened to be present
    and we discussed the problem but we didn't find the solution. Instead
    of using Statistics Express VI I made my own subVIs and the problem was
    solved (and forgotten).
    I've already checked my
    customer's computer this morning and everything seems to be OK. DLL
    library lvanlys.dll is installed in "data" folder. 
    To eliminate unnecessary details I've created a new project (see the attachment, please).
    I
    installed the program on my colleague's PC (my colleague never used
    LabView in his life). The result is the same. You can see the error
    report in the second attachement.
    Then I've copied lvanlys.dll
    file to all folders where programs usually search libraries: Windows,
    Windows\system, Windows\system32 and Program Files\Mean4V. But program
    can't find the library NI_AALBase.lvlib.
    Obviously,
    installation of DAQmx drivers adds something which is missing in my
    build specification. I hope someone could explain what I'm doing wrong.
    With best regards, 
    Ljubo.
    Attachments:
    Mean4values.zip ‏50 KB
    Error_missing_subvi.jpg ‏62 KB

  • MyRIO standalone application not working, but works well when connected to PC (NI vision + webcam)

    Hi,
    I have a program that can detect motion that occurs in my room using a webcam and will send a picture to my gmail account if motion detected. The program works fine when myRIO is connecting to PC (with the webcam connects to myRIO). However, after I created a standalone application, it's not working. Even the VIs within the first frame of the flat sequence (turn LED on) was not working. The standalone program will work if I disable all of the vision-related VIs. Any suggestions? Thanks!
     I got the driver installed and the webcam connected, so that shouldn't be an issue.
    Thanks in advance.
    -Robin

    I have a 30 GB version of the same. I also got some external speakers for it, UBL I think they are called. I find there is something very odd about whether you charge it up or not. It seems to over-charge sometimes, and then everything freezes. As for connecting to the PC, no chance. After an initial burst on another machine, and after installing itunes on this computer, there is no recognition of the one by the other at all. Plus freezing and locking up. Plus freezing the PC as well, it is very tedious. So no answers, only commiserations. I think Apple are doing a very poor job on this ! And their help facility seems quite hopeless !

  • How to create datasource for standalone application using JPA

    In the persistence.xml configuration file, we have data source got it from web server configuration file, and created by server like Jboss or tomcat.
    I just wonder how to create this same data source via Java stand-alone application?
    I have Java standalone application embedded Jetty server running with JPA module. Question is how to setup or create data source from my Java application just like web server; which called by persistence.xml?
    Thanks,

    Hello,
    Sharepoint deployment is completely different. I don't think you can deploy any solution as wizard in prod so you have to first identify what you want to deploy.
    If you just want to deploy only web application then backup/restore process is available in sharepoint. you can use STSADM or powershell to deploy your web app.
    http://technet.microsoft.com/en-us/library/ee748618%28v=office.14%29.aspx
    If there is any custom code or .NET code then create a WSP package and deploy it on prod. If you have multiple WSP's then create a batch file (as exe package) then run this package on prod.
    http://www.ironspeed.com/Designer/9.1.1/WebHelp/Part_VI/SharePoint_Solution_Package_WSP_Deployment.htm
    Let us know in case any doubt
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to use connection pooling in 6.5 from standalone application?

    Hi,
    Is it possible to standalone application get connection from connection pool Sun ONE App Server 6.5?
    If can means how pls tell me the steps?
    I am trying standalone application to get connection from pool it will throw StackOverflowError.
    thanks
    with regds
    parthi

    Hi,
    Is it possible to standalone application get connection from connection pool Sun ONE App Server 6.5?
    If can means how pls tell me the steps?
    I am trying standalone application to get connection from pool it will throw StackOverflowError.
    thanks
    with regds
    parthi

  • Strange current VI`s path returned in standalone application

    I know that there is a difference in the path returned when using the "Current VIs path" in the development environment and in a standalone application, but this is not what I had expected: This is the path returned from the Current VIs path in the standalone application:
    C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds\rad.exe\RADHAZ-programmer\RADHAZ\rad.vi. Why is this the correct path to the VI?
    If I strip this path once, and build a new path with the name of my dynamically called VI  I get: C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds\rad.exe\RADHAZ-programmer\RADHAZ\instr.vi. It starts from this path, but It won`t load some text-files located at C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds\kal-data without making changes to the instr.vi.
    I tried to used the App.Dir property to find the correct top level directory, and it returns C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds as expected. But this is not the path that the dynamically called VI need.
    Any suggestions is appreciated..
    I searched for a detailed tutorial for setting up the build specification, but didn`t find any that helped much.
    Gunnar
    Solved!
    Go to Solution.

    HI Gunnar,
    have you tried the last point of the Advanced AppBuild settings as described in the help?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Standalone application questions

    Hi,
    Question 1:
    I have a data acquisition application using Labview. Four analog channels are recorded on HDD and displayed on waveform chart continuously.
    Development application runs fine but standalone application on DELL laptop has problems: waveform does not show proper Grids; sometimes vertical and horizontal grid lines are broken. There is no problem recording data but only problem is displaying waveform.
    The same standalone application used to run without any problem but after some minor modification, it behaves strange.
    Any suggestions to fix the waveform display problems will be greatly appreciated.
    Question 2:
    �VI Property > Customize Windows Appearance > Show abort button� unchecked will disappear ABORT
    button from VI. .After standalone application compilation and installation, the ABORT button was visible. How hide the ABORT button on the standalone application.
    Question 3:
    Can I replace Labview default RUN button with custom button, I want to hide Labview default RUN button and want to make a separate RUN button. Can I access property node or local variable of that RUN button?
    Thanks in advance,
    Kishor

    About question 1.
    I had some strange behaviour with charts and transparent backgrounds.
    Perhaps it's something like this...
    About question 2.
    Perhaps you have made a build script that has the properties set. After
    changing the VI, loading the build script might overwrite the VI settings.
    About question 3.
    You should modify the VI to wait for a button to be pressed (a while, 10 MS
    wait, and a button). Let the VI start automatically (run when opened). This
    has the same effect.
    Regards,
    Wiebe.
    "Jeremy Braden" wrote in message
    news:[email protected]..
    > 1. The VI may have been corrupted after your minor changes. Do you
    > have an old copy of the good code. You can also copy the block
    > diagram of th
    e bad VI to a new VI and build an executable from the new
    > VI. Also do you see the same behavior with the classic waveform
    > chart? What happens if you build a new LV executable with dummy
    > information going to the chart?
    > 2. The tests I ran showed that you can make the abort button
    > invisible with the steps you mentioned. Do you think that you may
    > have not saved your changes?
    > 3. You cannot replace the run arrow. Atleast not from a nice
    > integrated published solution sort of way. There are no properties
    > for the run arrow.

  • Deploying standalone applications

    I'm a beginning programmer interested in learning how to deploy client-side standalone applications in Java. I'm using the Metrowerks CodeWarrior IDE, and I am writing some simple GUI applications. Under 'Java Output', my IDE lets me select either Jar file or application. When 'application' is selected, two files are generated: a Windows application (JavaApplication.exe) that transparently runs the program, and JavaApplication.zip (which presumably holds the .class files). Would it be possible to FTP these files to a server for others to download and run (under Windows only, of course)? Or is it better to simply upload the .jar file? On a related note, I don't understand why the "executable" .jar files output in my projects can't run when I double click on them, even though I have the JVM on my computer.
    I realize that any compiling destroys the "write once, run anywhere" capability that is Java's hallmark, but for now my main concern is just to get some practice deploying my programs.
    any help with these questions would be greatly appreciated,
    thanks,
    Eric

    Good help you if you are using Metrowerks, one of the CRAPPIEST IDE every. Anyway, all it is doing is putting a wrapper around your main Java app class when you create a exe. As for download, either will do, put both up and let user decide. The jar is good for all, were the exe is OK, as many window user will find it more familiar to deal with. As to the VM problem, the solution is here on the forum, go search, I gave you 2 of the 3 answers, do now you can also get some search practice to go with your deploy practice.

  • New windows on clicking items in standalone applications

    Can standalone applications have new windows as menu's opened by clicking on the blocks , which have a lot of data parameters to be changed.
    In case I do not want to keep those data parameters on the front panel of a standalone application .
    windows which open like in express VI's .
    please suggest.

    Hi connoisseur,
    use a subVI with settings "open when called" and "close afterwards"...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Front Row 2 - Why a standalone application?

    Perhaps this thread can consolidate some of the various other complaints against Front Row 2 that seem to stem from the same issue that I, at least, perceive as being a big part of the problem: that FR2 is a standalone application in Leopard rather than a front-end interface for media-handling applications in the background, as it was in Tiger.
    So I'm just curious and would like to hear from those who may be more "in the know" why Apple made this move? Why is Front Row "better" as a standalone application? When in Front Row in Tiger, if you watched a movie, QuickTime would be handling it in the background. If you listened to music, it was iTunes that was handling it. If you watched a slideshow, iPhoto was responsible. If you were watching a DVD, DVD Player was doing the work. In Leopard, however, Front Row handles all these media files/types by itself, and I've only seen that as a negative so far.
    For example: in Tiger, a custom slideshow I had created in iPhoto would be displayed exactly as I had specified (including custom timings, photo framing, etc.) when viewing that slideshow in Front Row. In Leopard, not all those settings are carried over and the slideshow doesn't display as I've set it up (although it continues to display perfectly in iPhoto). In Tiger, all my album artwork in iTunes was displayed correctly in Front Row. In Leopard, the artwork of several albums will not display even though the album art is visible in iTunes (and via CoverFlow and QuickLook in Finder). And, of course, there's the issue that many report that music playing in FR2 will stop if FR2 is exited, or even when you just exit the music section of FR2. Why the disconnect? By having Front Row be a standalone application, it just opens the door for issues where the files/media isn't being correctly handed over from its proper application to what we see in Front Row.
    While I do mostly love the new interface of Front Row (although I miss the desktop fading into the background effect upon launch of FR2), I've seen it take a pretty significant performance hit. Some HD movie trailers that played flawlessly in Front Row on Tiger are sluggish and choppy on FR2 on the same hardware. These same trailers play just fine by themselves in QuickTime, however. Tiger's Front Row properly showed previews for all my slideshows and movies almost instantly, while FR2 takes quite awhile to create previews for everything - and isn't able to create previews at all for some files (Apple's own HD movie trailers, for example).
    Since FR2 is trying to handle all the media and filetypes by itself, rather than handing off the tasks to the proper applications in the background that can handle them more efficiently, it seems to become a bloated system hog. After spending about 15 minutes in FR2 going through various media, I noticed it seemed to slow down more and more. I exited to check Activity Monitor, and even though Front Row wasn't even running anymore, it was using almost 1GB of RAM. Evidently, all those previews it has to create (starting over each time you get into FR2, I might add) really start to take a toll over time with heavy use. For someone with a HTPC-Mac who wasn't accustomed to ever having to exit Front Row in Tiger - much less actually restart the machine because of it - it seems like a horrible step backwards.
    So again, I'm hoping someone can offer some insights into why Front Row was changed to a standalone application instead of being further enhanced as a front-end UI for the proper media applications running in the background. I understand why they wanted to change the interface to be AppleTV-like, but I don't understand the loss of features and the backwards step in performance.

    That's a benefit to the PPC users, of course, but I can't imagine that was a major influence on Apple's decision to do it. Would they really remove features and hinder overall performance just to cater to old hardware? That doesn't seem very Apple-like. Nor does it make much sense to handicap Front Row for everyone who does have a capable Intel Mac just so others can run it on old PPC machines (which likely can't get the best performance out of Front Row anyway, given the way it gobbles up system resources by bearing the burden of dealing with so many forms of media/files by itself all at once).
    Maybe the bigger picture - which is harder to see now only a few days after the launch of Leopard - involves better long-term development of Front Row features that will be easier to implement with it being a standalone application rather than a front-end UI. So while it will be great when/if the performance is improved and new features are added, it's little consolation to those who upgraded to Leopard (and I do love most of the rest of 10.5, really) but think we took a major step back with Front Row.
    Front Row isn't a big deal to those who use it infrequently, but for those who were somewhat dependent on it as a vital component of HTPC, these "little" issues add up and are pretty frustrating.

Maybe you are looking for

  • Unable to install a zone: Copying 0 files to the zone.

    Hi forum users, I really hope someone has any idea what could be wrong here. First of all, the server is patched with security and recommended patches, except for 118344-13 -> R-- SunOS 5.10_x86: Fault Manager Patch which I will install on the next m

  • Windows Server 2008 R2: Server unable to authenticate with Domain Controller

    Hello, I was wondering what could be the reason for this error if it is certain that there was no other computer on the network using the same name: This computer could not authenticate with<Domain-controller>, a Windows domain controller for domain

  • Problem in  Installation of oracle 11i

    Hi, I'm trying to install oracle 11i apps in windows server. I have done all prerequsite steps before starting intallation. In front end screen its saying compled unziping 81 of 114 at (71%) at one particular point the installation is not proceeding

  • Closing stock valuation

    Hi All, How the closing stock will be valuation in FI trial balance?? regards

  • How do I attach a photo to webmail email on my IPad2?

    I use webmail and can't figure-out how webmail can see the photos taken on the iPad? My Internet provider doesn't support using the iPad mail programs so I need to use webmail. Hope you can help! Bart