Is it possible to update only one java file in my application bundles without re-deployment?

For Example,
i have a Application.java file in my application-bundles.jar and it is running.
I need to add a new method in Application.java file alone while the instance is running.
I know we can change .jsp file through CRX-DE lite, but looking for .java files.
is it possible or can some one suggest an idea on this?

Hi kalimisetty,
It is part of bundles. It needs recompilation & deployment. Though server restart is not required.
Thanks,
Sham

Similar Messages

  • How to Load 2 library files using System.loadLibrary in one .java file!!!

    Hello,
    Someone please help me. What I am trying to do is load two .DLL files in my program. Program works fine when I
    do the following way i.e. I have two .java files and in each I am loading one .DLL file. But I don't want to have
    two .java files I want to load both the .DLL files in one program.
    **************** Example.java **********
    import java.io.*;
    import java.util.*;
    public class Example
    public native int A(String in);
    static
    System.loadLibrary( "API2" );
    public static void main( String args[])
         Ex ex = new Ex();
         int r;
         r = ex.A("TEST");
    public Example()
    *****************Ex.java*****************
    public class exsysml
    public native int A(String in);
    public exsysml()
    System.loadLibrary("API3");
    The above way works. But I need only one .java file to load both the .DLL files. i.e.
    import java.io.*;
    import java.util.*;
    public class Example
    public native int A(String in);
    static
    System.loadLibrary( "API2" );
    System.loadLibrary( "API3" );     
    public static void main( String args[])
         Example ex = new Example();
         int r;
         r = ex.A("TEST");
    public Example()
    but when I do this way it doesn't work and I get a UnSatisfiedLinkage Error at ex.A("TEST"). While doing the top way it works.
    How can I fix this to just have one .java file and load both the library files as done in the bottom program but doing this program doesn't work. Any help is appreciated.
    Thanks!

    what I figured out so far is that we can only load one library file in a single class and define all the native methods present in that library in the class where we are loading it. Means we can't load multiple library files in a single class. It's just my thought else if someone provides a better solution. I may be wrong so that's why I need your help.
    Thanks

  • Grant to update only one row

    Hi all,
    I'm working with an 10.2.0.3 Oracle Enterprise version.
    I need to create a new user on my database with permission to update only one row on table.
    Have you notice if this is possible? In case, how is the grant to do this?
    Regards,
    dbajug

    Try this:
    SQL> create user usr1 identified by usr1;
    User created.
    SQL> create user usr2 identified by usr2;
    User created.
    SQL> grant connect, resource to usr1,usr2;
    Grant succeeded.
    SQL> conn usr1/usr1
    Connected.
    SQL> create table t (id number);
    Table created.
    SQL> insert into t values(1);
    1 row created.
    SQL> insert into t values(2);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> grant update on t to usr2;
    Grant succeeded.
    SQL> create or replace trigger trg_t
      2  before update on t
      3  for each row
      4  begin
      5  if :old.id>1 then
      6  raise_application_error(-22299,'You cant change the specific value ');
      7  end if;
      8  end;
      9  /
    Trigger created.
    SQL> update usr1.t set id=2 where id=1;
    1 row updated.
    SQL> update usr1.t set id=2 where id=2;
    update usr1.t set id=2 where id=2
    ERROR at line 1:
    ORA-21000: error number argument to raise_application_error of -22299 is out of
    range
    ORA-06512: at "USR1.TRG_T", line 3
    ORA-04088: error during execution of trigger 'USR1.TRG_T'
    SQL>

  • HT204053 i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible

    i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible..

    Open the App Store on your device.
    Make sure you are signed in with the same account used for the original purchase.
    Tap on Purchased from the bottom navigation bar.
    On iPhone or iPod touch, tap Updates from the bottom navigation bar, then tap Purchased.
    Locate the app in your Purchased tab.
    Tap the download button (cloud symbol)
    See also: http://support.apple.com/kb/HT2519?viewlocale=en_US&locale=en_US

  • Access for update only one column in table?

    Hi all,
    My need is to grant access for update only one column c1 in table t1.
    I guess I should use view, could you please give me some example? Maybe other ideas?

    Hi,
    You can grant privileges on individual columns.
    GRANT   UPDATE (c1)
    ON      t1
    TO      grantee_name;Look up GRANT in the SQL language manual. Annoyingly, in recent editions of the manual, GRANT is not indexed, but it's in alphabetic order with all the other statements:
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_9013.htm#i2155015

  • Help--How can I open only one java program at one time?

    How can I open only one java program(same program) in Windows at one time?

    In Java 1.5, you can use the JVM's own monitoring APIs to examine what other JVMs are running on the system, and what applications they're running.
    It's general and powerful, but complex. The socket/file/whatever approach is cleaner, and probably more suited to your usage.
    Don't bother trying to use the Windows task manager for this sort of thing. You have to write messy native code, and it isn't reliable after all that anyway.

  • LSMW to update only one field in materials

    Hello experts,
    My requirement is to update only one field 'HRKFT-Origin Group as Subdivision of Cost Element' in material using LSMW. I tried with Standard Batch/Direct Input -> Object - 0020, Method - 0000. But it was not successful as it gave me warning - 'The material cannot be maintained since no maintainable data transferred' at the end.
    Now I want to try this using BAPI method in LSMW. But it is showing me error - No target structures could be determined..
    Please guide me.
    Regards,
    Aparna Gaikwad

    Hi
    i tried the same and am able to do it using LSMW Batch i/p.  Object - 0020, Method - 0000.
    There in source fields define material, plant and origin grp. in structure relations map the below
    BGR00 Batch Input Structure for Session Data                       <<<< MBEW1 Material COsting
          Select Target Structure BGR00 .
        BMM00 Material Master: Transaction Data for Batch Input            <<<< MBEW1 Material COsting
              Select Target Structure BMM00 .
            BMMH1 Material Master: Transfer of Main Data                       <<<< MBEW1 Material COsting
    Next in field mapping map those 3 fields: material, plant and origin grp.
    while testing do one thing. first take the data and try the same using MM02 manually. if tht is working fine ( i mean if the material is having costing view and you are able to chnage the origin group). then test with the same material, plant and a different origin grp. It will work.

  • Would it be possible to export only one response, such as only the highlighted one?

    Would it be possible to export only one response, such as only the highlighted one?

    You can use the "Show details" option in the View Responses tab:
    Once you activated the detail view, you can export the detail view (that contains a single response):
    thanks
    Roman

  • Is it possible to download only ONE MONTH of a calendar into iCal

    I have downloaded an ocean tides calendar for a trip. I only need the data for certain dates, but I have about 8 entries per day for the whole year. I know I can turn the ocean tides calendar on or off, but I would prefer limiting the number of days the information was actually downloaded, so as to take less storage on my iPhone.
    Hey, this would be a good option to have anyway - use data from date x to date y for year z.
    Thanks, Jeanne

    Hi volsgc,
    volsgc wrote:
    Thank SGIII and Yellowbox.  However, the reason I wanted to send only one tab is to get rid of the need to do work multiple times.  I have several clients that I was hoping to share data with daily.  Copying and pasting multiple times works but is not efficient.  I have created formulas to extract only a certain clients information in one tab.  I would like to share that with each client without revealing information about the rest of the clients in the other tabs.
    So your suggestion is basically saying I can share only one tab if I share a spreadsheet without any other tabs.  I would like to share one tab in a spreadsheet that has multiple tabs.  Does anyone out there have a solution for that?
    In Numbers you can copy a sheet and paste it into a new document. However, any formulas will not link back to the original document. You must "fix" the values. Copy a table, then
    (Numbers 2) Paste Values.
    (Numbers 3) Paste Formula Results.
    Another way is to copy a table and paste it into a word processing document.
    No matter what spreadsheet app, there is no way around this. Either "fix" the values, or send the source data.
    Regards,
    Ian.

  • How to execute one java file in another java file

    Hi All!
    I hava a problem.. I need to validate functionality of one java file in my Junit test case.. so, I need to run that java file in my test file..
    How should I start with???? Are there any java API's for that.. I checked 'system' ..but which function will suite that functionality,,I am not sure about..

    I need to check the functionality of deletetion which
    is done by a java class.. Now I need to check this
    functionality..whether it is deleting or not... in my
    test case.. so, for that I need to execute that java
    file in similar manner as how we normally do it...,
    in my test case..So let the test case create a file and have your class delete it. What's there to run?

  • Only one epub file will not open in ADE or on my Nook. The others I downloaded will open on both and will copy to the Nook as usual.

    I download epub books from Overdrive. Only one epub file will not open in ADE on my Mac or on my Nook. The many others I've downloaded will open on both and will copy to the Nook as usual. Using the latest edition of ADE. Could be a corrupted ePub file? Curiously, this is the second time I've downloaded this epub from the same site, and I had no problem the first time. It still has 9 days remaining in the borrowing period.

    Forgot to make clear that on both my Mac and the Nook, attempting to open the epub causes ADE to crash.

  • ERROR ITMS-9000: "META-INF/container.xml must contain one and only one root file reference."

    Hi all,
    After correcting a table-of-contents error in my .epub file, I am unable to upload it via iTunes Producer. It lists this error message:
    ERROR ITMS-9000: "META-INF/container.xml in 9780615431727.epub must contain one and only one root file reference." at Book (MZItmspBookPackage)
    The file has been verified and only has one root file reference in the container.xml file.
    Has anyone been able to find a solution to this problem?
    Thanks!

    Hello Forum Users…
    For those of you who have run into the upload roadblock, getting an error message similar to this:
    Package Summary:
    1 package(s) were not uploaded because they had problems:
              /Users/slm/Desktop/MUSIC to PICTURE for IBOOK/2012 MTP for iTUNES Bookstore/9780615600918.itmsp - Error Messages:
                        Apple's web service operation was not successful
                        Unable to authenticate the package: 9780615600918.itmsp
                        ERROR ITMS-9000: "OPS/ibooks.ncx(5): 'p50': fragment identifier is not defined in 'OPS/content9.xhtml'" at Book (MZItmspBookPackage)
    Following is a "specific" fix, but the idea of the fix will help you with your specifics too.
    I tried for 17 days to upload a book that looked and worked perfectly in iPAD via Preview.
    After many discussions with Apple, who to their credit stayed with me over 2-3 days, I decided to play a hunch.
    I went into a duplicated copy of the book and on every page, (because the error message was not telling the whole story), looked for what InDesign would call "Overset Text."
    Now... the "flaw" in iBOOK Author (hint) is that it won't advise you of this "overset text" as does InDesign.
    And to compound the matter, the exported ePUB document WORKS in iPAD Preview.
    See Screenshots from InDesign:
      Okay... Couldn't add it but it is a Warning Box that says there is overset text. (Characters which exceed the text box.)
    Nevertheless, I played this hunch, and sure enough found a few boxes with the + in them.  In other words I clicked on EVERY text holder and every text block in the entire document.
    Where I found + signs, I simply deleted some carriage returns from the iBOOK file... (please note… carriage returns and literally empty spaces that caused the overset text) and then erased all previous copies of the Music to Picture Book on my hard drive,  iTUNES and iPAD.
    The result?  A "text-book" upload with no snags!  As my Son would say… "Victory!"
    So, first make sure that you are using only PNGs, Jpegs and Movie files to iBook Specs.  Then... make sure there are no overset text boxes, which you must do manually.
    Enjoy & Godspeed!
    Steve
    Stephen Melillo, Composer
    STORMWORKS®
    209 Spinnaker Run
    Smithfield, VA 23430-5623
    USA
    v/f 757-356-1928
    stormworld.com
    “History is a vast early warning system.” Norman Cousins, editor and author (1915-1990)
    "This will be our reply to violence: to make music more intensely, more beautifully, more devotedly than ever before." Leonard Bernstein
    “If you have a chance to help someone, and you don’t, you are wasting your time on this earth.”  Roberto Clemente

  • Compiling one java file within another java program

    Hi all,
    I want to compile one java file say one.java within a java program say second.java.. i simply have no idea as how to proceed ..pls help!!

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=dynamically+compile&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
    Just to give you an idea.

  • Is it possible to update only a part of my apps

    Hi, I would like to upgrade my apps, but my iPad2 writes that I don't have enough memory. Is it possible to upgrade only a part of the apps? In the appstore, you can chose either all of them or nothing.
    Thank you!

    You can update all, or download select App updates one at a time by selecting the app update you want to install.

  • MVC: update only one time

    Hi,
    suppose I've this model class:
    public class MyClass extends java.util.Observable {
         public MyClass(){}
         //get methods
         //set methods
         private int x;
         private int y;
         private int z;
         private int t;
         private int s;
    }Now I want that, when I use more than one set method, observers are notified only one time.
    That is,
    if I have this calls:
    MyClass obj = new MyClass();
    obj.setX(1);
    obj.setY(2);
    obj.setZ(3);
    obj.setT(4);
    obj.setS(5);I want that the update method isn't called five times, but only one time.
    I can't add setChanged() and NotifyObservers() in only one of the set method,
    because I 'm interesting in knowing when the model has been modified.
    I thought of adding a new set method like this:
    setModified(){
       setChanged();
       notifyObservers();
    }so, every time I want to notify observers, I run this method.
    But, I want to know:
    Is this the correct way to do?
    Thank you in advance.
    MargNat

    No,
    the five values doesn't always change all at once.
    I can have this code in one class:
    obj.setX(45);
    obj.setY(46);and in another class this:
    obj.setX(45);
    obj.setZ(345);
    obj.setT(345);I simply don't want the observers are called many times.
    the values are indipendent among them, I don't want to have only one set method for them;
    this isn't an object oriented approach.
    Practically, I want to know where exactly must be placed setChanged() and notifyObservers() methods.
    In all model methods?
    In a specific method I can call every time I want to update?
    I must call setChanged() and notifyObserver() directly, as example, like:
    obj.setChanged()
    obj.notifyObservers?
    Thank you again.
    MargNat

Maybe you are looking for