Control child jar from prarent jar

Hi all,
i am new to java. i need to control 3 jar files from a parent jar file. I want an equivalent functionality of "Createprocess" from VC++. is this possible? i need to implement this in mobile. is this a feasible question ?

I'm afraid that's not possible. You can have several MIDlets in one MIDlet suite, but all of this must be in one jar. There's no way how you could access any other jar in the device.
Security reasons, I guess.

Similar Messages

  • Control JNLP jar files download time

    Hello,
    I have a JNLP application which will run over internet , my problem is that anyone can go to the url and launch the application and download all the jars, before even logging in, i'm worried about using this for Denial of service.
    is there a way that i can control the jar files download time, like only download the necessary jar first and when jars are needed will be downloaded eventually
    Any Help would be appreciaetd
    regards

    elie_nasrani wrote: I have a JNLP application which will run over internet , my problem is that anyone can go to the url and launch the application and download all the jars, before even logging in, i'm worried about using this for Denial of service.
    is there a way that i can control the jar files download time, like only download the necessary jar first and when jars are needed will be downloaded eventually
    Web start offers lazy downloads, as well as the DownloadService* (DS) to help with this kind of problem.
    'Lazy' means the resource is only downloaded when needed, but using the DS offers even greater control, even to the extent of manually blocking a download - if needed.
    * e.g. of the Download service, be sure to follow the links.
    <http://www.physci.org/jws/#ds>
    As far as 'signing' goes, I cannot imagine how that would help for your problem. Not only are signed Jar's (at least slightly) larger, but they can also be used by JWS apps. coming from other domains! If your app. is sandboxed, I strongly recommend keeping it as unsigned code.
    Why is your JNLP file exposed to the general public? Don't the users have to log in before they can get to the page with link to the application JNLP?
    If that is the case, the only chance for users who are not logged in to launch it, is if a friend sends them a direct link to the JNLP file.
    As an aside, I generally do not have time to look at posts with no 'dukes' assigned (see links at upper left), if getting a solution is important to you, it is a good idea to add some.

  • Stoping a group of child components from listening for mouseover event.

    Hi,
    I am trying to create a type of navigation system in this little app i'm working on which executes a function when the mouse is rolled over a canvas container. There are four of these canvas container which carry child components like labels, image, and text controls. These canvas containers have an initial alpha values of 0.5 so i want the fade effect to gradually animate to 1.0 when the mouse is rolls over it. When the mouse rolls out i want the alpha to animate the alpha values back to 0.5. I have sucessfuly done this here is a sample code.
         public function rollOverEffect(e:Event):void
              var ROFadeEffect:Fade=new Fade(e.target);
              ROFadeEffect.duration=500;
              ROFadeEffect.alphaFrom=0.5;
              ROFadeEffect.alphaTo=1;
              ROFadeEffect.end();
              ROFadeEffect.play([e.target]);
         public function rollOutEffect(e:Event):void
              var ROFadeEffect:Fade=new Fade(e.target);
             ROFadeEffect.duration=500;
              ROFadeEffect.alphaFrom=1;
              ROFadeEffect.alphaTo=0.5;
              ROFadeEffect.end();
              ROFadeEffect.play([e.target]);
    So this is working but not perfect...everytime my mouse rolls over the canvas it comes to life (Fades in).....but when it rolls over its child components, it fades out. I really dont follow why. Do i need to stop these child components from recieving events or what
    here is the MXML code for the UI
         <mx:Canvas  alpha="0.5" id="newMemCanvas" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)"  x="448" y="32" width="252"      height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="61" y="24" text="New Members" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="10" y="65" text="0 New Member(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="17" y="10" source="resource/studentUser.png" width="36" height="42"/>
              <mx:HRule x="14" y="55" width="226"/>
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" id="recPosted" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" x="448" y="252" width="252"               height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="42" y="16" text="Recently Posted" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="14" y="65" text="No Post Yet!" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="10" y="10" source="resource/blog_post_new.png"/>
              <mx:HRule x="10" y="51" width="226"/>
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" x="702" y="32" width="252" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="78" y="23" text="Unread Messages" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="17" y="64" text="0 Unread Message(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:HRule x="14" y="54" width="226"/>
              <mx:Image x="10" y="20" source="resource/unreadMess.png" width="60" height="30"/>
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" x="703" y="253" width="248" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Image x="10" y="10" source="resource/mainLogo.png" width="41" height="35"/>
              <mx:Label x="55" y="18" text="Guided Tours" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:HRule x="11" y="51" width="226"/>
              <mx:Label x="10" y="66" text="Tower Building Video" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="89" text="Student Interviews" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="111" text="Social Events" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="132" text="Living the School Life" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
         </mx:Canvas>
    ...any help will be greatly appreciated...thanx                                                                                    

    Hi l33tian,
    Check the below code with small modifications that I have made to your code in order to make it work...
    Observe the changes that I have made in your rollOver and rollOut functions and also in the mxml code in which I have taken a seperate canvas for all the canvases and added the mouseOver and mouseOut events on this canvas instead of outer canvas so that we can eliminte the problem of FadeOut when we mouseOver on the child components of canvas...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
    <mx:Script>
      <![CDATA[
       import mx.effects.Fade;
       import mx.controls.Alert;
       public function rollOverEffect(e:Event):void
                var ROFadeEffect:Fade=new Fade(e.currentTarget.parent);
                ROFadeEffect.duration=500;
                ROFadeEffect.alphaFrom=0.5;
                ROFadeEffect.alphaTo=1;
                ROFadeEffect.end();
                ROFadeEffect.play([e.currentTarget.parent]);
           public function rollOutEffect(e:Event):void
               var ROFadeEffect:Fade=new Fade(e.currentTarget.parent);
               ROFadeEffect.duration=500;
               ROFadeEffect.alphaFrom=1;
                ROFadeEffect.alphaTo=0.5;
                ROFadeEffect.end();
                ROFadeEffect.play([e.currentTarget.parent]);
      ]]>
    </mx:Script>
    <mx:Canvas  alpha="0.5" id="newMemCanvas" x="448" y="32" width="252" height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="61" y="24" text="New Members" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="10" y="65" text="0 New Member(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="17" y="10" source="resource/studentUser.png" width="36" height="42" maintainAspectRatio="false"/>
              <mx:HRule x="14" y="55" width="226"/>
         <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" id="recPosted" x="448" y="252" width="252" height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="42" y="16" text="Recently Posted" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="14" y="65" text="No Post Yet!" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="10" y="10" source="resource/blog_post_new.png"/>
              <mx:HRule x="10" y="51" width="226"/>
        <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" x="702" y="32" width="252" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="78" y="23" text="Unread Messages" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="17" y="64" text="0 Unread Message(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:HRule x="14" y="54" width="226"/>
              <mx:Image x="10" y="20" source="resource/unreadMess.png" width="60" height="30"/>
        <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" x="703" y="253" width="248" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Image x="10" y="10" source="resource/mainLogo.png" width="41" height="35"/>
              <mx:Label x="55" y="18" text="Guided Tours" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:HRule x="11" y="51" width="226"/>
              <mx:Label x="10" y="66" text="Tower Building Video" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="89" text="Student Interviews" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="111" text="Social Events" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="132" text="Living the School Life" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
    </mx:Application>
    Check this out and please let me know..
    Thanks,
    Bhasker

  • HP Photosmart 5514 all-in-one printer. Control copy function from computer?

    I have a HP Photosmart 5514 whose touch screen is no longer working properly.  It doesn't recognize any selection at the bottom right of the screen.  I can touch any other place on the screen and it will respond.  Because of this I'm no longer able to copy or scan from the printer.  I can print from my computer as this doesn't involve using the touchscreen on the printer.  What I'm wondering is if it is possible to use my computer to control copying.  Is it possible to use the computer (rather than the touch screeen on the printer) to tell the printer to copy?

    Hello Junior2,
    Welcome to the HP Forums.
    I see that you are having an issue with the touch screen not responding.
    One step that you can try is to please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    If this does not resolve the issue, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
    As for controlling the printer from the computer, the only thing that you will be able to do is print or use the scanning software to scan to the computer. 
    Thanks for your time.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Is it possible to control itunes dj from other computers on the same network?

    is it possible to control itunes dj from other computers on the same network?  we have a computer running itunes connected to our speakers here at work, and we'd like to be able to control it through the other comptuers on the network.  is this possible, or do you have to use iphones/ipads/etc?

    AC is corret you can do that.  It might work a bit better for you if you use a wired connection vs a wireless one for the ATV's.

  • How can I control an iPad from a touch screen which is mirroring the iPad screen

    How can I control an iPad from a touch screen which is mirroring the iPad screen.
    This is a very important application for disability students who wish to use iPad apps but do not have sufficient fine motor skills to use the small screen of an iPad but could use a large format display touch screen.
    There must be a way.?????????? Help!!
    Peter Niass
    [email protected]

    Have a look here
    http://www.macstories.net/iphone/the-external-touchscreen-that-can-control-an-ip hone/

  • How to delete the child record from the database

    how to delete a parent and child record from the database can we do it in the servlet and my database is oracle

    I'm not sure I understand the question but you could certainly use the JDBC API from within your servlet to access and modify a DB. You could also use an EJB layer to access your DB and accomplish the same tasks.

  • How can I control my Iphone from my PC/laptop/Mac without VNC(requires WiFi

    Hi,
    Is there a way to control my Iphone from my computer without a WiFI connection? I was able to do this on my treo via USB cable. Anyone help?

    There's not one i don't believe but there is one that you can use you iPhone to control you're mac. ill let you know if i come across one though!

  • Looking for app that will allow me to control my iphone from my desktop

    Looking for app that will allow me to control my iphone from my desktop.  I would like to be able to send text messages, etc from my computer instead of using my iphone.  I don't want to jailbreak my phone.  Does anyone know of app like this?
    Thank you,
    Scott

    Windows or Mac?  You can at least send iMessages from a Mac with Mountain Lion installed.
    There are apps that let you do the reverse (control the computer from the phone).  I don't know of any that let you go the other way.  It would be kind of cool if we could do this though.  But, I suppose it could open up a Pandora's box of security problems for the phone itself.  Just imagine somebody hacking into your phone remotely and using it without your permission....

  • How do i control my music from the lock and control screen?

    I Dont know if theres a setting i have to change, but i cant control my music from the control screen nor can i control it on the lock screen while the music is already playing. Is this a settings problem or is it just not working for my iphone 5?

    I'm having this same issue on the 4s.

  • How do I control my mac from another mac not in the same network?

    How do I control my mac from another mac not in the same network? Thanks

    You can do it manually, but it is much simpler if you use a tool such as Back To My Mac, LogMeIn, or something like that. Those programs enable you to connect to your computer through your router without you having to adjust the router settings manually.

  • How to do you control lower levels from the Stage?

    How to you control lower levels from the Stage?
    I have a button on the main stage and I have a symbol that has another symbol inside that I want to control that timeline or label.
    I have had success with going one level deep but not two or three deep.
    sym.getSymbol("symbol01").stop("label01");
    Any help would be great!
    Thanks.

    Can you explain the hierachy of your symbols? By this I mean, name of your symbol and any symbol inside and any symbol inside nested symbol and what event you are triggering from where?

  • How to access objects in the Child Form from Parent form.

    I have a requirement in which I have to first open a Child Form from a Parent Form. Then I want to access objects in the Child Form from Parent form. For example, I want to insert a record into a block present in Child Form by executing statements from a trigger present in Parent Form.
    I cannot use object groups since I cannot write code into Child Form to first create object groups into Child Form.
    I have tried to achieved it using the following (working of my testcase) :
    1) Created two new Forms TESTFORM1.fmb (parent) and TESTFORM2.fmb (child).
    2) Created a block named BLK1 manually in TESTFORM1.
    3) Created two items in BLK1:
    1.PJC1 which is a text item.
    2.OPEN which is a push button.
    4) Created a new block using data block wizard for a table EMPLOYEE_S1. Created items corresponding to all columns present in EMPLOYEE_S1 table.
    5) In WHEN-NEW-FORM-INSTANCE trigger of TESTFORM1 set the first navigation block to BLK1. In BLK1 first navigable item is PJC1.
    6) In WHEN-NEW-ITEM-INSTANCE of PJC1, code has been written to automatically execute the WHEN-BUTTON-PRESSED trigger for the "Open" button.
    7) In WHEN-BUTTON-PRESSED trigger of OPEN item, TESTFORM2 is opened using the following statement :
    open_form(‘TESTFORM2',no_activate,no_session,SHARE_LIBRARY_DATA);
    Since its NO_ACTIVATE, the code flows without giving handle to TESTFORM2.
    8) After invoking OPEN_FORM, a GO_FORM(‘TESTFORM2’) is now called to set the focus to TESTFORM2
    PROBLEM AT HAND
    ===============
    After Step 8, I notice that it passes the focus to TESTFORM2, and statements after go_form (in Parent Form trigger) doesnot executes.
    I need go_form with no_activate, similar to open_form.
    Edited by: harishgupt on Oct 12, 2008 11:32 PM

    isn't it easier to find a solution without a second form? If you have a second window, then you can navigate and code whatever you want.
    If you must use a second form, then you can handle this with WHEN-WINDOW-ACTIVATED and meta-data, which you have to store in global variables... ( I can give you hints if the one-form-solution is no option for you )

  • How to get initial value of Child View from Parent View in ADF?

    Hi,
    I am typically from a Oracle forms background and new to ADF.
    In ADF,how can I populate the initial value for a new record in child view from the parent view?
    For example.. using standard Departments and Employees tables which has parent child relation ship.
    If I want to create a new employee.. how do I get the initial value for department_id of my employee record(employee table) from departments table in ADF?
    Thanks in advance
    Vishnu

    USer, please tell us your jdev version!
    If  you have setup the data model in a way that it reflects this relationship (should be automatic if you use the 'create business components from table' wizard) this is pretty easy.
    To check this, open the application module and select the data model. On the right side you see departments view and under it indented the employees view. This indent shows you that the employees view is a child of the departments view. This is all you nee for the model layer.
    In the UI you open the datacontrol and open the departments view. One node it the employees view (as child). Now, if you work on a department (e.g. you drag the department view onto a page and drop it as form), you can add a button to create a new child (employee) by opening the employee node in department and drag the createInsert operation onto the page and drop it as button.
    Then create a new page and drop the employees view (the child from departments view) on to the page and drop it as form. This form will then display the new row for thew employee of hte department.
    Last thing to do is to add anavigation case from the departments page to the employees page and select this on the CreateInsert button.
    The form should have the DepartmentId pre-selected.
    Timo

  • How to delete child appleid from family sharing on ios 8 ipad

    I have two apple ids for one child in Family Sharing. How do I delete one?

    I have the same question.  I'm about sick of reading people referring me to the above link that King refers to.  Primarily becuase it does NOT address the question at hand.  That question is "How do you delete a child Apple ID?". I know I've seen that you can not remove adult ones, but apple does not you "can" do it, but doesn't show "how" to do it.  In my personal case, I need to delete the one I made and create a new one.  This is because having an incorrect child apple ID in my family share takes 1 spot away from my sharing.  I need to remove the child ID from my share plan to create a corrected apple ID for her.  The above linke King posted states,
    "Children under 13 can't be removed from a family.  If you need to, you can transfer the child to another family or delete their apple ID." Now..the phrase "child to another family" is hyperlinked and clearly shows how to do this.  But the "delete their apple ID" is NOT hyperlinked.  So we continue to search for our original answer that I haven't found since iOS 8 was released and I bought my iphone 6 on release day.
    Now on that topic, the family share is messed up HARD for children.  Heres why, while I wait to find out how to delete the incorrectly typed apple ID I made, I tested how it works for my 6 y/o, who was very excited to get her own iphone 5 (w/o cell cervice, glorified itouch).
    1.) While testing it out with the bad ID, I created the family share as the ogranizer.  I then added my wife and made her a Parent/Guardian".  Howver, despite this, when the "child" ID requests permission to purchase something in itunes, it only sends it to my wife and not me.  This shoudl go to both parents! If you want one or the other, make a setting.  Otherwise, if its flagged as an organizer or parent, they should have the power.  After all, as the organizer, she was verified as MY child through my credit card but I can't authorize the purchase as the organizer. Do what? Come on!
    2.) When my daughter asks to buy something, she has to put in a password.  This is simply nuts. My 6 y/o needs to put in a password for PERMISSION to ask her parents to buy something. Of which the parents then authorizes the purchase via either a password or fingerprint scan.  What non-parent thought this up?
    3.) To update an app on my daughters iphone requires her to request permission for each and every app, despite there being an update all.  This means, she has to put the password in on every...single...update...individually. Update all does not work. This means we need to authorize each update too...My God...really?
    4.) On the topic of passwords. Again, CHILD account ID. Apple requires passwords to be 8 characters, has to have an upper and lower case, can't be a simple word, has to have a number. I mean..lets sit and think about this.  a CHILD with such a complex password needing to be entered each time to update an individual app and ask permisison.  If its a child, it means the responsibility should be put on the parent.  Have the OS route the request to ME and let me put the password in for my child.
    5.) Whats the point of Auto Update? I mean, if I APPROVED these apps to go on my daughters phone, then it should AUTO UPDATE itself! It does not! Really?
    6.) How can apple advise in the FAQ's to delet the apple child ID but doesn't hyper link to it? Is someone really that dense?  It sure scares the DEATH out of me to try apple PAY! >.<
    7.) As I sit here looking at my family share settings, this very second, and I look at my daughters ID in there (the incorrect one I need to fix), there is nice itty bitty language on how to transfer an apple ID and a hyperlink there.  This is a GREAT spot for DELETE APPLE ID!  You know, I even logged into apples main management Apple ID section...you can't even delete the ID there either.
    8.) The WHOLE point of the family share is so you can share up to 6 people. BUT, if you try to download prior purchases on the new account's, you get an error message saying that this was previously purchased BUT you are unable to download it (For what ever reason) on every one.  Thank GOD I realized I can manually FORCE the crap onto her phone by pushing it from my desktop computer to hers.
    I mean...how can a "high tech" company be so obtuse? If you can't get CHILDREN policy right, how will your Apple Pay policy work out?
    Sincerely,
    A very disgruntled parent!

Maybe you are looking for

  • Sync fails on my N73, and cannot do almost anythin...

    right now, i cannot do synchronization from PC SUite to my phone. i cannot restore the backup files, and worst, cannot install anything on my phone. i started having this problem even before i got the error saying memory is full. actually, it worked

  • HT4009 accidental in apps purchases

    How can i contact apple about a refund for accidental IAP

  • Error when running the entity object

    Hi Experts, I am learning OAF. I created Application Module, and entity object for table emp and shcema apps. While running entity object, it's throwing the following error. Error(17,14): class practice_test_prc1.oracle.apps.mfg.simplepg.schema.serve

  • Odata Issue in Browser

    Hello Experts , I just want to clarify one thing regarding the Gateway service we developed using a hub approach . As we test our service in Gateway client using standard logon procedure , it is working as expected and showing the result . But when w

  • Printing light-colored text from a Web page

    On a Web page that contains some light-colored text (such as the Apple Store MacBook models page <http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?nnmm= browse&node=home/shop_mac/family/macbook&sf=wHF2F2PHCCCX72KDY>), is it po