Faster way for Refreshing a Library Reference

Hi,
I have a question for the Creator gurus:
I'm developing a webapp who in turn is a presentation layer of the bussiness logic coded in some EJB's. I'm developing both components together, and when I add some Session Beans (EJB ones, not Creator ones) I must refresh the library / client wrapper used by Creator.
The procedure so far is: Removing the library and the library reference from the project, then close the project. Remove the EJB sets from Creator (in the server navigator tab), close and reopen creator. Import the updated client-jar, and then open the project and add a ejb-client to a blank page. This way I end up with the updated libraries. There is a easier / faster way to do this?
Thank you in advance.
Antonio.

Correction, although I don't have a testcase handy, I found the bug
which was filed and it should be fixed.
After adding an EJB in the Servers window , right-click on the node and choose refresh.
Here's a scenario:
1)Create an EJB with a business method which returns a string
2)Deploy the EJB and add the EJB in Creator
3)Create a new Project and name it Project1 and D&D the business method in the designer
4)A data provider will be generated and libraries will be added under Project1(Check under Projects tab)
5)Drag and drop a static text and bind a property to the static text
6)Deploy the application
7)Update the EJB with one more business method and deploy the same EJB again
8)Right click on the EJB that was added to Creator in step 2 and select refresh
9)Both the business methods are visible
10)D&D the second business method on to the designer of Project one
11)Create a new Project name it Project2, D&D both the business methods, library references are shown correctly for this project.
hope this helps
John

Similar Messages

  • Dynamically load a VI by library reference

    We are very excited by the introduction of project libraries in LV8 and what it means for project management and building multiple custom distributions using libraries of dynamically called VIs from within a single project.  We now have our VIs arranged by VI "type" in the directory structure and by logical "function" with the project libraries that make up the project.  It sure wold be nice if we could dynamically load VIs from the library reference rather than trying to keep up with the actual paths.  I can get a reference to the library using and invoke node and "open.library" with a path wired in.  Is there any way to use this library reference to do an "open vi reference" to a VI within that library?

    Hello Lee,
    This invoke node returns a reference to the libray, with this you can browse throught the library just like a tree control. It is usefull to open the .lvlib file with a text editor to see what 'Type string' options you have. If you get to the right VI use the 'VI Reference' property from the 'Library Item'-class, this will get you a reference to the VI which you can open, edit, save or whatever VI-server offers you.
    Good luck
    Ton
    PS I'm using in this in a tool to duplicate the .lvproj structue into the hard-drive, I'm not fully done but getting there!
    PS This screenshot was made with Starware
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Example_BD.png ‏2 KB

  • Is there a faster way to figure out what a negative number in base 8 is?

    Hi,
    Altough I know that using base 8 in java is rare, I am still curious about ways to convert from a negative decimal number into a base 8 number.
    For example, when we want to find out the negative representation of -11 (base 10) in base 8 . I would first convert -11 into the 2's complement representation of base 2 first (i.e. 11 in binary is 00001011; -11 two's complement is then 11110101). I then convert this into base 8 (365). Is there a faster way for this?
    I hope i am not confusing everybody.
    Thank you.
    - nygrl

    Octal values from 0 to Integer.MAX_VALUE is
    between 0 and 17777777777, and those from
    Integer.MAX_VALUE to -1 is from 20000000000 to
    37777777777.correction:
    Octal values from 0 to Integer.MAX_VALUE is between 0 and 17777777777, and those from Integer.MIN_VALUE to -1 is from 20000000000 to 37777777777.

  • Open VI Reference for a Project Library VI

    Hi,
    my code calls some subVIs by reference by using "Open VI Reference" and "Call by Reference" VIs. Now, "Open VI Reference" expects a path to the VI:
    When the SubVIs sit in the same folder as the calling VI, it is easy to simply supply the name of the SubVI. However, I would like to call a SubVI that is part of a project library sitting somewhere else on the disk. I could give the relative path, but this make the code pretty inflexible and if the relative path changes all the paths would need to be ammended. Ideally, I want to utilize the fact that I am using a project library. The help for Open VI Reference states that
    vi path accepts a string containing the name of the VI that you want to reference or a path to the VI that you want to reference. If you wire a name string, the string must match the full delimited name of a VI in memory on that target. If you wire a path, LabVIEW searches for a VI in memory that you previously loaded from that path on the same target.
     I thought that the underlined path was my ticket and tried something like this:
    but this did not work and I got
    "Error 1004 occurred at Open VI Reference in MainVI.vi:
    Possible reason(s):
    LabVIEW:  The VI is not in memory.
    To load a VI into memory with the Open VI Reference function, a path must be wired for the VI Path input."
    Wiring a path is not desirable as per reasoning above. Is there a way around the issue?
    Thanks in advance!
    Solved!
    Go to Solution.

    tst wrote:
    That should work, but you have to pay attention to something that's stated both in the help and in the error - if you use a string, the only way for LV to know what to access is if that something is already "in memory" (sometimes also referred to as "being loaded"). In the case of standard libraries, that means the VI itself or one of its callers has to be loaded. In the case of classes and XControls, loading the library (as in having it in an open project) should be enough to also load all of its members.
    Hm, thanks, I am not advanced enough to know about classes and XControls, but I will check it out. My VIs are part of a library but obviously don't get loaded because, as you said, all their calls are dynamic.
    tst wrote:
    What I usually do is use a static reference to a VI to get its name, because that ensures that it will be statically linked, included in executables, etc. That might not work for you if you want dynamic loading and then you will need to use some other means.
    Hm, this actually gives me an idea! I could add an enable input to all these dynamically called VIs so that the logic runs only when enable is ON; otherwise the VI is called but does nothing. Then I call the VI first statically with enable=OFF just to load it in memory and then proceed with my dynamic call. A little ad-hoc, but should work and serve my purposes, I think.
    Thanks!!

  • What will happen to the organization of library if I removed the songs from windows explorer? Will iTunes automatically updated without all the deleted songs, or it will indicate 'missing location'? Any fast ways to clear this 'missing location' songs?

    What will happen to the organization of library if I removed the songs from windows explorer?
    Background: I found it easier to identify duplicated songs in windows explorer as the songs will be renamed .... 1.mp3, thus enabling me to remove the duplicated songs; unlike in iTunes where I know the trick of showing duplicate songs, but you don't know which one is the one with 1 at the end of the file name.
    Will iTunes automatically update the library without all the deleted songs, or will it indicate 'missing location' songs? Any fast ways to clear this 'missing location' songs by highlighting them all and delete all at one go?
    Thanks.

    One way is to use iTunes Folder Watch with its option to check for dead tracks on start up.
    Another option is with a set of Lost & Found playlists.
    Lost & Found
    Create a playlist called Found, select everything in Music and drag it into the Found playlist. Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist. You can delete them all with a Ctrl-A to select them and Shift-Delete to remove them.
    You can then delete the Lost & Found playlists.
    tt2

  • I purchased a text tone from Itunes.  It shows up in my library, but not as a text tone.  Is there a way for me to set it as a text tone for all texts?  Or I am stuck with factory settings?

    I purchased a text tone from Itunes.  It shows up in my library, but not as a text tone.  Is there a way for me to set it as a text tone for all texts?  Or I am stuck with factory settings?

    So it is conseidered a customized text tones even if it was purchased through iTunes?  Confusing.  Since I bought it through itunes as a text tone I assumed it would work.  OOOPS
    Thanks so much

  • HT4914 I purchased iMatch because my old computer was failing and I was afraid of losing my music library. Now I bought a new laptop; what is the best way for me to transfer my library to my new laptop? Will iMatch help me do this?

    I purchased iMatch because my old computer was failing and I was afraid of losing my music library. Now I bought a new laptop; what is the best way for me to transfer my library to my new laptop? Will iMatch help me do this?

    Is/was failing or has failed?
    If the old computer still runs one of these methods may be best.
    Method 1
    Backup the library with this User Tip.
    Restore the backup to your new computer using the same tool used to back it up.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    I don't have personal experience with iTunes Match, but in principle you should be able to download all the tracks currently registered to your iTunes Match account. This isn't quite the same as restoring your previous library exactly as it was. There is always the potential for iTunes match to provide the wrong version of a song and could be content such as movies, podcasts, audiobooks etc. that would have been excluded.
    tt2

  • BC4J: Any way for fast storing a large array of data

    Hi!
    I know 3 ways for storing data by using BC4J (EJB):
    1.ScrollableRowsetAccess rsAccessC =....
    rsAccessC.setColumnValue(....
    2.oracle.jbo.Transaction currentTRS = ...
    currentTRS.executeCommand("insert ....
    3.By invoking embedded function in ViewObject that use methods from oracle.jbo.server.ViewObjectImpl class.
    The last clause is more quickly than previous ones but not enough fast.
    Maybe somebody know about most efficient ways?
    Because I need store large arrays to Oracle database.
    The average size such array is 130 field multiplying by 15000 records.
    Thanks in advance
    Gali
    null

    Assume you have a big text file to work that you need
    to store and work with, what would be the best way to
    do that?Parse it into a database. Then use SQL to manipulate.

  • Somehow or another my iPod deleted my videos and they don't show up in my library. Any way for me to get them back?

    So, like I said, my iPod classic deleted my videos and now they aren't in my library. Is there any way for me to get them back or do I just count it as a total loss and move on?

    If these videos are no longer in iTunes or on your iPod, you can redownload them if they are originally from the iTunes Store via iCloud.  See this article for more information.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, you will have to re-import/re-rip these videos from their original source.
    B-rock

  • My father-in-law's photo library has thousand of "stock photos"(such as the guitar from garage band) surrounding his actual photos.  What is the easiest way for me to clean this up for him? Karen

    My father-in-law's photo library has thousand of "stock photos"(such as the guitar from garage band) surrounding his actual photos.  What is the easiest way for me to clean this up for him? Karen

    Can you tell me how to do that and how to do it without erasing his actual photos which are intermingled?
    ThanK You.
    Karen
    PS We are only in town for a few more hours & I'd love to get this done for him. He's in PA & I'll never be able to walk him through this by phone:)

  • Weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for ServletContext

    Hi,
         We have Installed Weblogic Server 10.3.5, applied the ADF Runtime 11.1.1.6 and applied the patch 11.1.2.4.0.
         All the Deployment libraries are appearing in the server.
    When we try to deploy a simple application, we are getting below error.
    [05:07:29 PM] Deploying Application...
    [05:07:30 PM] [Deployer:149193]Operation 'deploy' on application 'JSFPageTest_Project1_JSFPageTest' has failed on 'AdminServer'
    [05:07:30 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application JSFPageTest_Project1_JSFPageTest on AdminServer.: Failed to load webapp: 'JSFPageTest-ViewController-context-root'.
    [05:07:30 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'JSFPageTest-ViewController-context-root'
    [05:07:30 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@68993675[app:JSFPageTest_Project1_JSFPageTest module:JSFPageTest-ViewController-context-root path:/JSFPageTest-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    [05:07:30 PM]   See server logs or server console for more details.
    [05:07:30 PM] weblogic.application.ModuleException: Failed to load webapp: 'JSFPageTest-ViewController-context-root'
    [05:07:30 PM] Deployment cancelled.
    [05:07:30 PM] ----  Deployment incomplete  ----.
    [05:07:30 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Regards,
    Lakshmi

    looks like you didn't install the application development runtime on WLS, or if you did, you either forgot to extend your domain with the JRF or installed the wrong version of the application development runtime.

  • Hi, my iPhone 3GS wall charger stoped working, and I went to Orange shop with my warranty and L.I.G. insurance.They said I should also give them the phone for almost 10 days, isn't there a faster way, is it possible the Apple Store replaces my wall charge

    My 5YO daughter owns her very own IPhone 3GS, she got it for her 5YO birthday on the 24th of june. its allready upgraded to iOS5, and works like a charm.
    Last evening, while it was charging, a flame appeared and the charger stopped working.The USB still works.
    It was plugged in a Belkin 3700 joule along with my 47 Inch Full HD TV .
    No storm or something like that, and there was nothing wrong with my TV, as in was still running.
    Problem.
    I went today to an Orange store here in Romania, with the charger, invoice,warranty, and L.I.G. (London Insurrace Group ((I think))) insurrance, and they said I MUST also bring the iPhone, and thet it will take just about 10 working days for them to give me back the Iphone, and a new charger.
       Is there a faster way I can get the wall charger replaced?
    Should I try going to the Apple Store with the warranty from Orange.
    Thank you for your answers.
    Please excuse my English.
    CONDOLENCES APPLE. for your painfull loss.

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Way to refresh cache for only one service

    Is there a way to refresh cache for only one service?
    Rewards points guaranteed.
    Regards.

    Is this really a problem? Why not invalidating the cache alt all
    when it seems to be necessary?
    regards
    Tobias

  • Best way for Database Reorg.

    Hi Experts
    I want your advise on what is the best way for Database Re-Organizing / Database Refresh.
    Regards.

    Hi,
    what is the best way for Database Re-Organizing?Good question!
    Oracle's official way to do online table reorgs is with the dbms_redefinition utility, and here are my notes:
    http://www.dba-oracle.com/t_online_table_reorganization.htm
    Under the covers, it uses CTAS, which can also be done in parallel:
    http://www.dba-oracle.com/t_create_table_select_ctas.htm
    Of course, you can also do reorgs with Data Pump . . . .
    what is the best way for Database Refresh? I use a fast clone procedure:
    http://www.dba-oracle.com/oracle_tips_db_copy.htm
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Right way to manage ADF Library Dependencies

    Hi,
    I am working on an application where we are trying to components in individual Libraries for re-usability and logical grouping.
    These jar files are then imported into parent projects which can result in different levels of dependency hierarchies.
    From what I have seen there are different ways of importing components / libraries onto a project.
    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent project
    My question is:
    a> What is the difference between these three ways of importing components from one project to the other.
    b> Which is the best way for deployment and future maintenance.
    thanks
    Edited by: user595592 on Aug 12, 2011 5:18 AM

    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)This will be applicable if you have a dependiency.. ro you have an adf library reference for your project..
    datacontrol - Business components referenced in bc4j.cfg
    other datacontrlols will be defined in DataBindings.cpx file
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.This is through file connection.. This is the most prompt way of adding libraries.. to the project.. so that there wont be an absolute references..
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent projectagain same as poiint 2.. but for datacontrol..
    a> What is the difference between these three ways of importing components from one project to the other. point 1 say dependecies.. in a single applicatioon between different project.. absoultely fine..
    point 2.. will alway go with relative path.. and have an advantage of not having absolute path..
    point 3. si same as 2
    b> Which is the best way for deployment and future maintenanceI will suggest you to go for 2.. as its the standard way of adding libraries..

Maybe you are looking for

  • Error Updating WAS SP13 -- SPS18, Phase Deploy Online: SAPJTECHS18_0.SCA

    hello, I can not update SAP WAS Java SP13 to SPS18. I get an error message during phase "deploy online" (18 of 24). see the error message and log below. Previous to running the update I successfully run the WAS SP18 Prerequisite Check based on "WAS-P

  • How can i tell if my new Apple TV is streaming using wireless N or G

    Ok i sold my 40G apple TV a few weeks back before the itunes update.. all worked great. Yesterday i purchased a new 16G apple TV and a new belkin N1 wirlessN router. So far i have had a few problems with syncing. After much searching here it looks li

  • UTF8 character set conversion for chinese Language

    Hi friends, Would like to some basic explanation on UTF8 feature,what does it help while converting the data from chinese language. Would like to know what all characters this UTF8 will not support while converting from chinese language. Thanks & Reg

  • Characters do no display when typed

    An annoying thing started happening since the i OS6 update.  I enter my password and no characters appear.  Consequently, my phone doesn't think I have entered my password so I cannot log in.  I re-start the phone and it typically works for awhile an

  • Delete spaces in internal table

    Hi this question is to improve my performance... what is the performance oriented way of delete entires in internal table where any of the field is empty. 1   2   3   4    5   6   7 A  B   C  D    E   F  G   "<< ok A  B   C        E   F  G   "<< dele