Some explanation needed

Hi all,
I'm new for all the adobe application development.
I don't realy underestend if I can create some PDF documents  with the InDesine Script without to open the InDesign tool.
Can youi  please explain me how to do this? and if it not posible do you know with wich tool can I do this thing?
Thanks
Yael

Hi Yael,
I need some explanation of your question, too.
Do you want to 'convert' InDesign-documents to PDF-files without opening InDesign?
That is not possible.
Do you want to export PDF-files out of opened (or closed - to be opened) InDesign-documents with InDesign-application opened but without any dialog?
That is possible.
What do you mean with 'the InDesign tool'?
Do you mean the application InDesign or the dialog to export PDF-format out of a document?
Martin

Similar Messages

  • [AIR_on_ANDROID] Needs some explanations

    Hi guys,
    I'm an italian flash programmer. I'm so happy that I can finally build apps fdor android and iPhone too. This wouyld be great for my job.
    But first I need some explanations to some issues I found:
    1 If the new Flash CS5 extension allows us to compile a native Android application (.apk file), why people needs to install AIR runtime on its phone? IT shouldn't be just like iPhone and its packeger?
    2 Why when I do set the publish settings to "AIR Android", the functionality  "Control -> Test Movie -> In device central" goes off?
    3 Since I installed the Android ext, every time I start a new AIR 2 project the publish settings goes automatically in "AIR Android". The I set it on "Adobe AIR 2", but when I try to compile it give me always the same error:
    "Error creating file"
    "Name file is invalid in the descriptor file"
    Thank you for help.
    P.S. I use Flash Cs5 in windows Vista x32.

    Well, the latest extension (09/30/10) has some issues qhen you try to visualize "Android settings":
    "The following JavaScript error(s) occurred:
    At line 1 of file "Apollo_OpenSettingDialog.jsfl":
    ReferenceError: Air2_5_Android is not defined"
    This is a bug a lot of people in internet found. So the only solution was to install an older release (09/23/10 works fine on it).
    After all, I tried to run an .apk on Desire HD emulated by Device Central Cs 5, but it occured an error "file not supported on this device".
    I suppose that device central smartphones are still not update, right?
    Thanks for your time. I really appreciate that

  • Need some explanation on nested AMs

    Hello OTN,
    Need some explanation on nested application modules.
    It is descibed in several posts and videos that each AM holds its own connection and to reduce connection number we nest AMs under RootAM.
    So, I have the master application with a RootAM.
    There are some detail applications imported into RootViewController project as ADF libraries. Each containing a taskflow to use on a main page and an application module.
    So in the Data Controls I have RootAM + all of imported. Each holding its own connection. To reduce it I want to nest importeed AMs under RootAM.
    But in RootAM DataModel - Appliaction Module Instances there is just RootAM and nothing more. Seems, RootModel project is not aware of imported AMs.
    http://img72.imageshack.us/img72/4964/nestam.png
    So I deploy each detail Model project as an ADF Library and import it into RootModel project. OK, now I see imported AMs in Application Module Instances section and I can nest them.
    After doing so I open Data Controls section inteding to see only RootAM on the top level, but still there are each of imported AMs on the top level and there are nested AMs under RootAM also.
    http://img7.imageshack.us/img7/5042/nestam2.png
    Seems, I've done something wrong.
    Could someone explain me, please?
    Thanks.
    ADF 11.1.2.1

    I don't think that you made an error. Is just the way application module are imported. You see the nested ones under your root application module and you see the same as root application module on the same level as your real application module.
    It all depend on which one you use. You can however control which artifacts you see in the data control. Check Chris Muirs bloghttp://one-size-doesnt-fit-all.blogspot.com/2011/02/jdev-adf-bc-and-adf-libraries-library.html about this.
    Timo

  • Some files need to be updated first .Specify --force to overwrite remote files. while vlt command co

    Hi
    apps\collab\commons\components\components\.content.xml:
    Some files need to be updated first .Specify --force to overwrite remote files. while vlt command co
    What has to be done?

    have you tried vlt up --force ? Make sure that you are using latest version of vault tool. Also let us know sequence of command you are using ?
    http://dev.day.com/docs/en/crx/current/how_to/how_to_use_the_vlttool.html
    Yogesh

  • "Some photos need to be prepared to view them at full size" message when starting slideshow

    I'm pretty new to iPhoto so I'm sorry if these questions are obvious to you, but they're not to me!
    From the "Photos" section on iPhoto, with no photos selected, I accidentally started a slideshow with all my photos by pressing the play button on the keyboard and got this message:
    "Some photos need to be prepared to view them at full size. Do you want to continue using the current size or prepare the photos so that only full size images are used? This may take some time." With these options: Cancel / Prepare Photos / Continue Playback.
    I pressed "Esc" on the keyboard and it clicked "Prepare Photos" instead of "Cancel" as I expected, it started the process and I clicked "Cancel" to stop it, and the slideshow started. When the slideshow was playing, everything froze, I pressed cmd-alt-esc, no window appeared and iPhoto quit immediately. Could it have caused damages to the library? Could it be a reason to restore the iPhoto Library from Time Machine? I didn't get any error message when I reopened iPhoto.
    Not to leave the process incomplete later I decided to start another slideshow and this time I clicked "Prepare Photos" and let it complete the process. Now when I start another slideshow I don't get that message anymore.
    I have no idea what this process did to my photos and couldn't find an answer anywhere. This library is very important to me, so I'm wondering if I should restore the iPhoto Library from a Time Machine backup.
    Could canceling the process the first time have caused any damage to my photos?
    What is this preparation? What did it do to my photos? Have my photos been resized, or somehow modified?
    Thanks

    Ok, thank you very much. I still don't know exactly what the "preparation" did to my photos but now I guess that nothing bad happened. Thanks

  • Aperture 3.2.3 and NIK plugins. Intermittently, the viewer doesn't update an image adjusted using several NIK plugins, though the browser strip does. The viewer updates once Aperture is quit and re-launched. IS there some explanation for this recent behav

    Aperture 3.2.3 and NIK plugins. I use several of these plugins. Recently, and intermittently, the edited image fails to update in the viewer until Aperture is quit and re-launched, even though it is updated in the browser strip. I have assumed the NIK software must be working because the problem occurs from time to time regardless of which one is used. Is there some explanation?

    See this known issue:
    http://support.apple.com/kb/TS4237
    Not sure why Apple has not fixed this one yet. It is consistent with NIK plug-ins as well as Photoshop (CS5 and CS6).
    Big fumble from my point of view.

  • Is some driver needed when I want to use Matrox card to aquire image via Labview?

    Is some driver needed when I want to use Matrox card to aquire image via Labview?and  I cannot afford the expense of buying a driver made by alliancevision。 If there must be some driver installed before I acquire image, can anyone email me one? Or just give me some advices.  My email address is [email protected]
    The attachment is my VI by which I attempt to acquire image, and I don't know what is the problems in it and whether it is because of the lack of the driver.
    Attachments:
    method2.vi ‏19 KB

    You asked the same question here under a different user ID. 
    Asking for someone to email you something that you must purchase is called software piracy. Nobody on this forum will help you with that.

  • HT201269 I used Version : 4.2.1 (8C148)  but I want to update New version because some application need 4.3  ....  please tell me about to  update new version for my iPhonoue 4. Thank you.

    I used Version : 4.2.1 (8C148)  but I want to update New version because some application need 4.3 or 5 ....  please tell me about to  update new version for my iPhonoue 4. Thank you.

    Start iTunes on the computer you normally sync with. Connect your phone. Select your phone in iTunes on your computer and select the General tab in iTunes. Then scroll down to check for updates. iTunes will update your phone to the latest version of the iOS that is availablele.

  • Some hotel need to input user ID & PW in browser before use internet

    I would like to know how to setup as follow case
    I need to go to different countries for working, some hotel need to open a browser and automatic to their homepage then inputer User ID & PW, so how to setup up in airport express?
    I use MacBook pro, IPad 2, iPhone 4

    I suggest you do this stuff in the event handlers, such as in the action handler , such as in the tab action handler.

  • Need a ebook or some explanation and tutorial on OOP

    Hi experts,
    I'm new to OOP in SAP ABAP. Does anyone have some copy of tutorials, explanation and ebooks on OOP? I badly need it to finish my work in office.. Please... thanks in advance!

    Hi,
    The following lines explain the main Abap object oriented concepts that differs from traditional abap.
    Introduction
    The object orientation can be defined as a problem-solving method in which the software solution reflects objects in the real world. Therefore, a comprehensive introduction to object orientation would go far beyond the limits of this introduction to ABAP Objects as a whole.
    Object
    An object can be defined as a section of source code that contains data and provides services. The attributes of the object are formed by the data. The services are known as methods (also known as operations or functions). Typically, it is seen that the methods operate on private data (the attributes, or state of the object), which is only visible to the methods of the object. Thus, the attributes of an object cannot be changed directly by the user, but by the methods of the object only. This guarantees the internal consistency of the object.
    Classes
    The classes are very important, as they describe the objects. From a technical point of view, the objects are runtime instances of a class. One can create any number of objects based on a single class in theory. Each instance (object) of a class has a unique identity and its own set of values for its attributes.
    Features of Object Orientation
    Encapsulation
    According to this property, objects restrict the visibility of their resources (attributes and methods) to other users. Every object has an interface which plays a very important role. It determines how other objects can interact with it. It is found that the implementation of the object is encapsulated, which means that it is invisible outside the object itself.
    Polymorphism
    According to this property, identical (identically-named) methods behave differently in different classes. Object-oriented programming contains constructions, which are called interfaces. They enable you to address methods with the same name in different objects. The implementation of the method is specific to a particular class, though the form of address is always the same.
    Inheritance
    According to this property, one can use an existing class to derive a new class. The data and methods of the super class are inherited by the derived classes. However, they can overwrite existing methods and add new ones.
    Uses of Object Orientation
    The object-oriented programming is quite useful in many ways. It has various advantages, some of which are mentioned below.
    Since object-oriented structuring provides a closer representation of reality than other programming techniques, complex software systems become easier to understand.
    In object-oriented system, it should be possible to implement changes at class level, without having to make alterations at other points in the system. This reduces the overall amount of maintenance required.
    The object-oriented programming allows reusing individual components through polymorphism and inheritance.
    In this system, the amount of work involved in revising and maintaining the system is reduced as many problems can be detected and corrected in the design phase.
    To achieve these goals, the followings are required:
    Object-oriented programming languages: The efficiency of object-oriented programming depends directly on how object-oriented language techniques are implemented in the system kernel.
    Object-oriented tools: Object-oriented tools allow you to create object-oriented programs in object Oriented languages. They also allow you to model and store development objects and the Relationships between them.
    Object-oriented modeling: The object-orientation modeling of a software system is the most important, most time-consuming, and most difficult requirement for attaining the above goals. These designs involve more than just object-oriented programming and logical advantages that are independent of the actual implementation are provided by it.
    ABAP Objects
    ABAP Objects is a new concept in R/3 System and you can find its two distinct meanings --- one is for the entire ABAP runtime environment and the other represents the new object-oriented generation of this language.
    The Runtime Environment
    ABAP Objects, for the entire ABAP runtime environment, are an indication of how SAP has, for sometime, been moving towards object orientation. Object-oriented techniques have been used exclusively in system design. The ABAP language did not support these techniques earlier.
    The ABAP Workbench will allow creating R/3 Repository objects in this regard. These objects are programs, authorization objects, lock objects, customizing objects, and so on and so forth. By using function modules, one can also encapsulate functions in separate programs with a defined lnterface. The Business Object Repository (BOR) allows you to create SAP Business Objects for internal and external use.
    The Object-Oriented Language Extension
    ABAP Objects support object-oriented programming. The ABAP Objects is a complete set of object-oriented statements, which has been introduced into the ABAP language. This object-oriented extension of ABAP builds on the existing language and is fully compatible with it.
    The Object Orientation (OO), also known as the object-oriented paradigm, is a programming model that unites data and functions in objects. You can not only use ABAP Objects in existing programs, but also work with and use a conventional ABAP in new ABAP Objects programs. The rest of the ABAP language is primarily intended for structured programming, where data is stored in a structured form in database tables and function-oriented programs access and work with it.
    Moreover, we should know that the object-oriented enhancement of ABAP is based on the models of Java and C++. It is compatible with external object interfaces such as DCOM and CORBA. The implementation of object-oriented elements in the kernel of the ABAP language has considerably increased response times when you work with ABAP Objects. Some other objects, such as SAP Business Objects and GUI objects, which are already object-oriented by themselves, are also benefiting from being incorporated into ABAP Objects.
    About Classes
    The classes are templates for objects. An abstract description of an object is the class. You could say it is a set of instructions for building an object. The attributes of objects are defined by the components of the class, which describe the state and behavior of objects.
    Local and Global Classes
    In ABAP Objects, classes can be declared either globally or locally. You define global classes and interfaces in the Class Builder (Transaction SE24.} in the ABAP Workbench. In the R/3 Repository, they are stored centrally in class pools in the class library. In an R/3 System, all of the ABAP programs can access the global classes. The local classes are defined within an ABAP program. Local classes and interfaces can only be used in the program in which they are defined. When you use a class in an ABAP program, the system first searches for a local class with the specified name. If it does not find one, then it looks for a global class. Apart from the visibility question, there is no difference between using a global class and using a local class.
    However, there is a significant difference in the way that local and global classes are designed. If you are defining a local class that is only used in a single program, then to define the outwardly visible components so that it fits into that program is usually sufficient. On the other hand, global classes must be able to be used anywhere. Since the system must be able to guarantee any program using an object of a global class, it can recognize the data type of each interface parameter and then certain restrictions are applied at the time of defining the interface of a global class.
    Defining Local Classes
    Local classes consist of ABAP source code, where the ABAP statements CLASS...ENDCLASS are enclosed. A complete class definition consists of the following parts, a declaration part and, if required, an implementation part. It is found that the declaration part of a class . The new class is called the subclass of the class from which it is derived. The original class is called the superclass of the new class. It contains the same components as the superclass if you do not add any new declarations to the subclass. However, in the subclass only the public and protected components of the superclass are visible. The private components of the superclass are not visible though they exist in the subclass. You can declare private components in a subclass that have the same names as private components of the superclass. It is seen that each class works with its own private components. The another point that we note is that methods which a subclass inherits from a superclass use the private attributes of the superclass and not any private components of the subclass with the same names.
    The subclass is an exact replica of the superclass if the superclass does not have any private visibility section. However, you can add a new component to the subclass because it allows you to turn the subclass into a specialized version of the superclass. If a subclass is itself the superclass of further classes, then you can introduce a new level of specialization.
    Polymorphism
    Reference variables are defined with reference to a superclass or an interface defined with reference to it can also contain references to any of its subclasses. A reference variable defined with reference to a superclass or an interface implemented by a superclass can contain references to instances of any of its subclasses, since subclasses contain all of the components of all of their superclasses and also convey that the interfaces of methods cannot be changed. In particular, you can define the target variable with reference to the generic class OBJECT.
    Using the CREATE OBJECT statement, when you create an object and a reference variable typed with reference to a subclass then you can use the TY PE addition to which the reference in the reference variable will point.
    A reference variable can be used by a static user to address the components visible to it in the superclass to which the reference variable refers. However, any specialization implemented in the subclass cannot be addressed by it.
    Depending on the position in the inheritance tree at which the referenced object occurs, you can use a single reference variable to call different implementations of the method. This is possible only if you redefine an instance method in one or more subclasses. This concept is called polymorphism, in which different classes can have the same interface and, therefore, be addressed using reference variables with a single type.
    Conclusion
    I have explained object orientation which is such an important aspect in SAP. The discussion began with the features of Object Orientation and includes the runtime environment, the language extension, the classes and the class components. Apart from that I have also discussed for new first time readers event handling, inheritance encapsulation and polymorphism.
    * &   R e p o r t     Z G S _ F I S R T _ C L A S S
    R E P O R T     Z G S _ F I S R T _ C L A S S .
    c l a s s   l c l _ w h e e l   d e f i n i t i o n .
    e n d c l a s s .
    c l a s s   l c l _ w h e e l   i m p l e m e n t a t i o n .
    e n d c l a s s .
    c l a s s   l c l _ c a r   d e f i n i t i o n .
    p u b l i c   s e c t i o n .
    m e t h o d s   :   c r e a t e _ w h e e l s .
    p r i v a t e   s e c t i o n .
    d a t a   :   w h e e l 1   t y p e   r e f   t o   l c l _ w h e e l ,
                   w h e e l 2   t y p e   r e f   t o   l c l _ w h e e l ,
                   w h e e l 3   t y p e   r e f   t o   l c l _ w h e e l ,
                   w h e e l 4   t y p e   r e f   t o   l c l _ w h e e l .
    e n d c l a s s .
    c l a s s   l c l _ c a r   i m p l e m e n t a t i o n .
    m e t h o d   c r e a t e _ w h e e l s .
         c r e a t e   o b j e c t   :   w h e e l 1 , w h e e l 2 , w h e e l 3 , w h e e l 4 .
    e n d m e t h o d .
    e n d c l a s s .
    s t a r t - o f - s e l e c t i o n .
    d a t a   :   o r e f   t y p e   r e f   t o   l c l _ c a r .
    c r e a t e   o b j e c t   o r e f .
    c a l l   m e t h o d   o r e f - > c r e a t e _ w h e e l s .
    * c r e a t e   o b j e c t   o r e f .
    b r e a k - p o i n t .
    copy paste this code and debug you will understand the flow.
    Reward points if useful,
    Aleem.

  • Strange benchmark result need some explanation

    I was testing the efficiency of the transpose function in Labview so I did a simple test setup starting with by using a constant as source. At some time I changed the constant to a control, and the processing time dropped from about 4200 msec to a number between 1 and 2 msec. I could reproduce the result at every run. Why is it like this?
    I include my test VI in 8.0
    Edit: I was using Labview 8.6 for this test, and Could not see any major differences in buffer allocations
    Message Edited by Coq Rouge on 07-29-2009 10:51 AM
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    transpose_test.vi ‏196 KB

    Thank you for your answer Rolf. And to be honest this behavior do not cause any problem for me. I wanted to see if the transpose array could cause any problem for me regarding timing. The transpose array function is more than fast for my amount of data(2x20000 dbl) . But in the future, if I need an big array constant. I will test and see if a control set to default values and hidden, perform better.   
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Some theoretics explanations needed

    Good day everyone.
    i have to make some custom MP for monitoring some application.
    i create one DS for powershell script, one Probe Action for on demand detection, one Monitor Type 2 state.
    i use many monitors with different PS Scripts to monitor diferent properties of application.
    in production i freqently got this error
    can it be because that i use one monitor type with all monitors?
    should i create one Monitor type for each monitor? should i create one DS for each Monitor type?
    what best parctice to make custom MP with several (about 10) PS Scripted Monitors on loaded system?
    AND one more question.
    on examples i saw that PropertyBag Object can contains many objects or values.
    how can it be used except just output those on alert string or monitor description ?
    Error description:
    The PowerShell script failed with below exception
    System.Management.Automation.Runspaces.InvalidPipelineStateException:
    Cannot invoke pipeline because it has been invoked earlier.
    at System.Management.Automation.Runspaces.PipelineBase.CoreInvoke
    (IEnumerable input, Boolean syncCall)
    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable
    input)
    at System.Management.Automation.Runspaces.Pipeline.Invoke()
    at
    Microsoft.EnterpriseManagement.Modules.PowerShell.RunspaceController.RunScript
    (String scriptName, String scriptBody, Dictionary`2 parameters,
    PowerShellOutputType outputType, Int32 serializationDepth, IModuleDebug
    iModuleDebug)
    Script Name: chkDiagSvc.ps1
    One or more workflows were affected by this.
    Workflow name: ITeco.HPDiagnostics.ServerServiceMonitor
    The PowerShell script failed with below exception
    System.Management.Automation.Runspaces.InvalidPipelineStateException:
    Cannot invoke pipeline because it has been invoked earlier.
    at System.Management.Automation.Runspaces.PipelineBase.CoreInvoke
    (IEnumerable input, Boolean syncCall)
    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable
    input)
    at System.Management.Automation.Runspaces.Pipeline.Invoke()
    at
    Microsoft.EnterpriseManagement.Modules.PowerShell.RunspaceController.RunScript
    (String scriptName, String scriptBody, Dictionary`2 parameters,
    PowerShellOutputType outputType, Int32 serializationDepth, IModuleDebug
    iModuleDebug)
    Script Name: DiagPortsDisc.ps1
    One or more workflows were affected by this.
    Workflow name: ITeco.HPDiagnostics.Ports.Discovery
    The PowerShell script failed with below exception
    System.Management.Automation.Runspaces.InvalidPipelineStateException:
    Cannot invoke pipeline because it has been invoked earlier.
    at System.Management.Automation.Runspaces.PipelineBase.CoreInvoke
    (IEnumerable input, Boolean syncCall)
    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable
    input)
    at System.Management.Automation.Runspaces.Pipeline.Invoke()
    at
    Microsoft.EnterpriseManagement.Modules.PowerShell.RunspaceController.RunScript
    (String scriptName, String scriptBody, Dictionary`2 parameters,
    PowerShellOutputType outputType, Int32 serializationDepth, IModuleDebug
    iModuleDebug)
    Script Name: chkXML.ps1
    One or more workflows were affected by this.
    Workflow name: ITeco.HPDiagnostics.xmlServerStateMonitor

    REF: Microsoft.Windows.PowerShellPropertyBagProbe

  • JBI Bridge Video.....  need some explanation...

    hi *,
    i just saw this video on caps site about JBI Bridge:
    http://developers.sun.com/docs/javacaps/tutorials/screencasts/jbi-bridge/launch.html
    i have two questions:
    can someone describe me the basical steps that are done on the video (besides the jcd things i know them from the "old world")
    can someone give me some usecases where such scenarios would make sense?
    regards chris

    I agree with slowing it down just a bit.
    Also and maybe this is part of the tutorial overview but a use case in which the tutorial is addressing.
    For example when I saw this the first thing that came to my mind was using this to bridge older versions like SRE does to the newer version and also invoking the business process to tie into a graphical type of monitoring. Maybe not for realtime but near real time. I would preface I am in health care so not sure if it could be used to monitor connection of the inbound consumer or hl7 binding component and then follow the data thru.
    So I thought of a billing batch type job where it would be leveraged to say have a batch hl7 binding component sending the billing on its way and then invoking the bp to utilize a wsdl to report on batch header or batch amount and destination of the delivery?

  • Need some explanations regarding static Method

    Hello,
    I have a code where a class has a static method access by other classes. This not working as I thought and I would like to understand why.
    Here below is the code.
    Here is a class having the static method "test"
    package test;
    public class StaticTest {
        public StaticTest() {
        public static void test (int i){
        while (i < 1000){
            System.out.println("i = " + i );
            i++;
    }Here is the code of another class (Thread) using this static method. This Thread can be initialized with an integrer value that will be passed to the static Method.
    package test;
    public class ThreadTester extends Thread {
        int x;
        public ThreadTester(int i) {
            x=i;
        public void run(){
            StaticTest.test(x);
    }Here is the code starting 2 Thread running in parallel and both are then calling the static method.
    //start 2 thread accessing the static method.
          ThreadTester test1 = new ThreadTester(0);
          ThreadTester test2 = new ThreadTester(200);
          test1.start();
          test2.start();
    ...As the second thread is started with a bigger value I thought that we would only have seen few printouts from the first thread starting by 0 and then printouts starting by 200.
    Here is what I thought regarding the result:
    i = 0
    i = 1
    i = 2
    i = 3
    i = 200 --> startup of the second thread, x in static method is overriden (at least this is what I thought!)
    i = 201
    i = 202
    i = 203
    i = 204
    i = 205
    i = 206
    i = 207
    i = 208
    i = 209
    But the real result is:
    i = 0
    i = 1
    i = 2
    i = 3
    i = 4
    i = 5
    i = 200
    i = 6
    i = 201
    i = 202
    i = 203
    i = 204
    i = 205
    i = 206
    i = 7
    i = 207
    i = 208
    i = 209
    i = 8
    It seems that there is 2 instances running in parallel. I thought that it would'nt be the case with the word "Static".
    Also I don't understand the result because if I use JBuilder in Optimizer mode I can see that there is only one instance of StaticTest object.
    Can anyone here explain me how is that possible?
    Thanks in advance for your help.
    Regards,
    Alain.

    >
    thread test1 creates its own stack and starts incrementing �i� starting at values 0. However, in the middle of incrementing, it gets kicked out by the OS (or JVM) into a �blocked� state to allow other threads to run. BUT before leaving the running state, test1 saves the stack state including the value of �i�.
    >
    Ok, now I understand, but then I have another question.
    What is the difference between the code shown in my first post and the following where we create 2 instances of StaticTest class (which is not static in this case for sure).
    How to decide (while coding) if it is better to use difference instances of class or not?
    package test;
    public class StaticTest {
        public StaticTest() {
        public void test (int i){ //Not static anymore
        while (i < 1000){
            System.out.println("i = " + i );
            i++;
    }We create new instance in the Thread.
    package test;
    public class ThreadTester extends Thread {
        int x;
        public ThreadTester(int i) {
            x=i;
        public void run(){
    StaticTest newInstance = new StaticTest(); //Create a new instance
            newInstance .test(x);
    }Alain

  • Need some explanation about statefull-bean

    Hi.
    I want to develop a statefull session bean that should store user information - userName of the logged user for example. So I create that bean in my login action and store that information therin (set that field). Then in other action I want to check if the user is logged. Should I create a new instance of the bean?? I do so but the persistent field is null and the user information from login action is lost.
    Are there any extra procedures that Statefull Bean should provide??.
    Bartek

    When using a StatefulSessionBean (SFSB), you should get the Handle of the Remote and pass that along in your HTTP session. This allows your "user session" to maintain state across pages via the SFSB. If you do not, then (as you noticed), you'll "lose" the stateful information because you end up creating/using another instance.

Maybe you are looking for

  • Can I install a new internal HDD and reboot from time machine?

    I'm away from home at the moment and my internal HDD has failed and I am putting in a new HDD I have the time machine backup on a external HDD but no OSX disks with me can I re boot OS from my time machine backup?

  • How to delete a purchase order from the database

    I thought that I was in development machine but I was wrong., I have created a purchase order that I would like to delete from the database. Thanks in advance.

  • Powerbook G4 as Media/Backup Server

    After a lot of research I still haven't figured out a plan that will suit my needs.  Im hoping someone here may be able to help out.  I have an old Powerbook G4 1Ghz with 1gig RAM running OS 10.3.9.  I don't use this machine currently, though it runs

  • Delimited output problem

    Hi , When i am generating reports in delimited format using with matrix stayle design .at the time of writing data into text file i am getting following error. RWRUN60.exe -Application Error The instruction at "0x78002b42"referenced memory at "0x0000

  • Data encryption on Z30

    Hi Does any body know specifically what data gets encrypted when encryption is activated? Was hoping to encrypt data contained on a task app which has personal info. Thx Z30 model Solved! Go to Solution.