How to make an object distributed across multiple jres?

Hi,
We used cache data mechanism for performance tuning. It will store data in static variable (Hashtable) and get initialized when app starts . We are using IPlanet Application Server and
Using 6 KJS engines. This object ( Hashtable) is not distributed across all JRES.It has to reinitialize data again when request goes to any other KJS.
We avoid sharing data in session and request, as data is huge.
Can any one help us how to make this object distributed across all KJSs?
Thanks in advance.
raj

We used cache data mechanism for performance tuning.
It will store data in static variable (Hashtable) and
get initialized when app starts.
We are using IPlanet Application Server and
Using 6 KJS engines. This object ( Hashtable) is not
distributed across all JRES. It has to reinitialize
data again when request goes to any other KJS.
We avoid sharing data in session and request, as data
is huge.
Can any one help us how to make this object
distributed across all KJSs?When you say 'initialized when app starts' do you mean iPlanets StartUp classes, rather than the Servlets init() ? Given a 'huge' dataset, avoid the latter.
I'd suggest that a better approach is to implement this as an Entity Bean and accessed from Session bean and using Value Objects to return the data subsets.
Checkout the Java Pet Store
http://java.sun.com/blueprints/code/jps13/datasheet.html

Similar Messages

  • How do you share Aperture file across multiple users on same Mac?

    How do you share Aperture file across multiple users on same Mac? Seems this should be a preferences choice.

    When you share your library between users, you may run into permission and ownership problems, if both users are editing the Aperture library and not only reading it. To avoid that, it helps to put the Aperture library onto a separate disk or a separate partion of your hard drive. For s separate partition or disk you can enable the "ignore ownership on this volume" flag. Then all users can access the library as owners of this library.
    You might try to put the aperture library into a shared folder on your mac, but that has caused problems recently, i.e. when the library also contains video files.
    Regards
    Léonie

  • How to make any object self-shining?

    hi,
    i guess thats an easy question, but i dont know where to look for the answer.
    so how to make any object self-shining like the infamous colorcube, so that one does not need to place any light?
    and am I right in my assumption that doing so will reduce the need of rendering power, since lights dont have to be computed?
    thanx,
    Usul

    I'm not sure what you mean here- if your object is lit then lighting will need to be calculated. If you don't want shapes to be lit, I think you can disable it by calling setLightingEnable(false) in their materials.

  • How to make an object mutable?

    Can any one tell me how to make an object mutable?
    Following is Class X & Y?
    class Y
    public static void main(String arg[]) {
    X a1=new X();
    Object a=a1.get();
    System.out.println(a.toString());
    a1.set(a);
    System.out.println(a.toString());
    class X implements Serializable
    public Object get(){
    return new Object();
    public synchronized void set(Object o)
    o=null;
    In my class Y when i say
    a1.set(a);
    I want local Object a of main method should be nullified.
    Can it be possible if yes what is the way or code to be applied so that
    my next a.toString() statement will give me NullpointerException.

    Isn't it more accurate to say that object references are passed by value?
    OP -- Basically you can't to what you want to do. When you "pass an object" as a method parameter, what you're really passing is a copy of the reference that points to the object. You now have two refs pointing to the same object--one in the caller and one in the method being executed. Setting either of those refs to null does NOT affect the object itself, and does NOT affect the other ref. It just means that the ref that's been set to null no longer points to any object.
    If you want the called method to make a change that the caller can see, you need to either 1) return a value from the method, 2) encapsulate the object to be changed as a member of new class, or 3) pass the object to be changed as the single element of an array. I would STRONGLY recommend against (3) as a way to simulate pass by reference. Better to examine your design and determine whether (1) or (2) more closely matches what you're really trying to accomplish.

  • HOw to make an Object oriented alv respond to double click

    Hi all,
    HOw to make an Object oriented alv respond to double click.SAmple code will be helpful.
    Thanks in advance,
    Alex.

    Hi,
    1. Create a Control (for Custom and Split Containers only)
    2. Instantiate a Container Object (in case of Custom and Split Containers, specify the control which is created by us in Screen painter) CREATE OBJECT
    3. Instantiate an Object of the kind of report that has to be displayed (List, Grid or Tree). CREATE OBJECT . Here we need to specify the Parent Container as the so that it sits in that container.
    4. Call appropriate methods to display the report on the screen. CALL METHOD ->
    DATA : g_dock TYPE REF TO cl_gui_docking_container,
    g_split TYPE REF TO cl_gui_easy_splitter_container,
    g_cont1 TYPE REF TO cl_gui_container,
    g_cont2 TYPE REF TO cl_gui_container,
    g_grid1 TYPE REF TO cl_gui_alv_grid,
    g_grid2 TYPE REF TO cl_gui_alv_grid.
    i_mara is an internal table of structure MARA
    SELECT * FROM mara INTO TABLE i_mara.
    i_kna1 is an internal table of structure KNA1
    SELECT * FROM kna1 INTO TABLE i_kna1.
    To create an Object of type Docking Container
    CREATE OBJECT g_dock
    EXPORTING
    side = cl_gui_docking_container=>dock_at_top
    extension = 200 .
    To Create an Object of Type Split Container. Here we can see that the Docking *Container Created above has been used as a parent .
    CREATE OBJECT g_split
    EXPORTING
    parent = g_dock
    orientation = 1 .
    Easy Split container splits one Control into 2 manageable controls, each of them is used * to handle one GUI Container each
    g_cont1 = g_split->top_left_container.
    g_cont2 = g_split->bottom_right_container.
    To Create an Object of type Grid . Here we can see that the Left Split Container * Created above has been used as a parent .
    CREATE OBJECT g_grid1
    EXPORTING
    i_parent = g_cont1 .
    To Create an Object of type Grid . Here we can see that the Right Split Container * Created above has been used as a parent .
    CREATE OBJECT g_grid2
    EXPORTING
    i_parent = g_cont2 .
    The method of Grid Control Object is used to display the Data.
    CALL METHOD g_grid1->set_table_for_first_display
    EXPORTING
    i_structure_name = 'MARA'
    CHANGING
    it_outtab = i_mara[] .
    The method of Grid Control Object is used to display the Data.
    CALL METHOD g_grid2->set_table_for_first_display
    EXPORTING
    i_structure_name = 'KNA1'
    CHANGING
    it_outtab = i_kna1[] .
    Regards
    Hari

  • How to make Shape3D object translucent

    Hi,
    How to make Shape3D object (like Box, Cylinder) translucent? I tried the below option but the box is not becoming translucent at all.
    final PhongMaterial redMaterial = new PhongMaterial();
              redMaterial.setSpecularColor(Color.rgb(10, 255, 15, opacity));
              redMaterial.setDiffuseColor(Color.rgb(10, 255, 15, opacity));
    final Box box = new Box(width,height,depth);
    box.setMaterial(redMaterial);
    When opacity is 1, the color of the box will be Green, when it is 0 the color becomes black.
    Is there any way the box can be made translucent?

    There is at least one unresolved issue concerning PhongMaterial's transparency: RT-28874.
    I'm neither able to get it working properly. My red Sphere also fades to black while varying the opacity value from 1.0 to 0.0.
    August

  • How do i apply one gradient across multiple live paint objects??

    I need to apply a single gradient acros a number of live paint objects but am finding it annoyingly hard to find a way.  I know that normally, to apply a gradient across multiple objects, you would need to make them all into one compound path but does this apply to live paint groups in any way??  Can what i need to achieve actually be done??
    Thanks for any help given 

    1. With the Live Paint selection tool, shift-select those shapes you want to unify with a gradient.
    2. Fill this (multi-shape) selection with your gradient. Now each shape is filled separately.
    3. With the gradient tool, drag across all of the selected shapes.
    "Annoyingly hard." Is that different than "hard"?

  • How to make a Input Field with multiple lines?

    hey folks,
    i need to make a popup window or a dynpro with 2 input fields, where the user can write on multiple lines. why isnt there such an input field in the screen painter? how can i make this? if i can do this with a dynpro it would be nice but a popup with that feature would be better. didnt found any infos anywhere except for that thread, but its answer didnt work with my dynpro:
    How to make a input/output field with multiple lines
    thx for any helping answer

    i made it just like in that thread but there is an error message telling that gv_custom_container is not declared.
    *  MODULE status_0110 OUTPUT
    MODULE status_0110 OUTPUT.
      CREATE OBJECT custom_container
        EXPORTING
          container_name              = 'TEXT_CONTROL'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5.
      CREATE OBJECT text_editor
        EXPORTING
          parent                     = gv_custom_container
          wordwrap_mode              = cl_gui_textedit=>wordwrap_at_windowborder
          wordwrap_to_linebreak_mode = cl_gui_textedit=>false
        EXCEPTIONS
          error_cntl_create          = 1
          error_cntl_init            = 2
          error_cntl_link            = 3
          error_dp_create            = 4
          gui_type_not_supported     = 5.
      SET PF-STATUS 'STATUS_0110'.
      SET TITLEBAR 'TITLE'.
    ENDMODULE.                    "status_0110 OUTPUT
    Edited by: rafe b. on Oct 26, 2009 2:56 PM

  • How can I display selected tags across multiple e-mail addresses?

    I receive email on a specific topic but via several e-mail addresses. How can I view selected tags where the resulting e-mails span several (7) email addresses. They are all active on my Thunderbird, but as far as I know, I can only display the selected tag on one of them at a time.
    Any assistance greatly appreciated as this is a very big problem for me.
    thanks, Ron75

    This solution does not appear to work across multiple e-mail addresses.
    Perhaps I should have said "work across multiple e-mail address at the same time. I get e-mail on specific topics via several email addresses and wish to view all the tagged emails regardless of which email account in which they reside.
    I could not get this solution to select more than one email account at a time.

  • How to make an object getting out of the screen ?

    Hello everybody !
    I am creating a game introduction with Flash pro CS6 and here's is my problem.
    I want a object in my animation to leave the screen, but I dont know how to do it.
    Is there for example, a way to delimited the working area, so that when I make an object go out of this area, it does not appear in my final animation ( no matter the format, .avi, .mov, spritesheets ... ) or can eventualy be "cut" ( if I make my object half inside the working arear and half outside ) ?
    Is there an other way to do this ?
    Thanks !

    Using a mask might be one way.

  • How to make text/objects move nonlinear speed on AE CC?

    Hi,
    I was wondering two questions:
    1) how to make "text holders" that has small animation. Here is an example from a video http://www.youtube.com/watch?v=5oSWt84VoAg (0:41).
    2) how to move objects with increasing speed and soft slow down. I know how to change speed, but how to make it so that it is only accelerating and slowing down? Same examle can be found from the clip above with the place holders and texts.
    Thank you for your help. If there is same kind of discussion going on please let me know. I could not find it.

    All of what you want to do comes down to the fine art of learning how to magle curves in the graph editor, which is nothing you can learn from just watching totorials. You learn it by doing and collecting experience.
    Mylenium

  • How to make an object of inner class and use it ?

    Hi tecs,
    In my JSF application i have a need to make an inner member class in one of my bean class.
    How can i make the object of this class?(what should be the entry in faces-config)
    And there are text box and check box (in the JSP) associated with the elements of this inner class. What should be the coding in JSP so that elements in the JSP can be linked with the corresponding members of the inner class ?
    Plz help.
    Thnx in advance.

    Hi
    I am havin 10 text boxes in my application.
    But out of 10 , 3 will be always together(existence of one is not possible without the other two.)
    Now i want to create a vector of objects ( here object will consist of the value corresponding to these three boxes),there can be many elements in this vector.
    So i m thinking to make an inner class which have three String variables corresponding to these text boxes that exists together.
    What can b done ?

  • How do you Spread an Image across multiple pages and print?

    I'm trying to create a large poster to be put on a bulletin board. I've mangaed to spread the image across multiple pages but I can't figure how to be able to print the pages have the edges line up successfully after cropping. I've been playing with the bleed settings but can't figure it out. Here a shot of what im working with:
    Im working in CS3 on Mac OS X

    Create your InDesign document at your final size and when you print it out put a check mark in the box for Tile

  • How do I return a match across multiple lines in UNIX?

    How do I return a match over multiple lines in UNIX?
    For example, I want to return the contents within tags across two lines:
    <tag>content content content
    content content content</tag>

    For the Perl example, how does the .. work?
    Range Operator:
    <http://www.perl.com/doc/manual/html/pod/perlop.html#Range_Operators>
    ...The operator is bistable, like a flip-flop, and emulates the line-range (comma) operator of sed, awk, and various editors. Each "..'' operator maintains its own boolean state. It is false as long as its left operand is false. Once the left operand is true, the range operator stays true until the right operand is true, AFTER which the range operator becomes false again....

  • How to make the objects got even distance in the Blend?

    Wondering anyone has the same experience or not? I blend 2 circles together and adjust the spine from a straight line to wave curve line by adding points and adjusting the handles of the points. The space between the objects along the spine turn to uneven after that. I tried to use the "specified distance" in the option and add more points and modify the handles again. However, all in vain. Finally, I need to expand the blend and adjust the distance of those objects manually. Any suggestions to correct the stupid way? Thanks.

    There is not really any way to get even spacing in a blend when the spine path has uneven curvature. (What the Specify Distance option does is take the length of the path, and divide it by the requested distance to determine the number of blend steps, but then once it has that number, they get spread out by exactly the same algorithm that is used when the number of steps is specified by a fixed number or calculated from the color difference.)
    The length of the direction handles on a spine path affects the placement of objects, with longer direction handles pushing the blend steps away from the anchor point, and shorter direction handles pulling them in towards it. This tends to make the objects more tightly spaced when the path has sharp curves, and more loosely spaced where it is flatter.
    If the direction handles are of equal length, and the distance between the two direction points is the same as their length, such as occurs on a circle, then the "pulls" balance out and the spacing ends up even. But when the curvature varies, so does the spacing.
    This can be used to advantage to get non-linear gradations, by making a straight line and then pulling out direction handles that lie along the line. It can also be used to make objects on an elliptical orbit appear to be spaced in perspective, since they are closer together at the sharp ends of the ellipse and farther apart at the flat sides.
    Often, however, what is desired is spacing that is independent of the curvature, such as you get with scatter brushes.
    It was fully intended when live blends were implemented in AI 8 that even spacing would be an option, and would indeed be the default option, with logarithmic spacing and direction-handle controlled spacing being two other choices. The direction-handle controlled spacing was just implemented first not because it was most useful (it isn't) but because, believe it or not, it is
    easiest. (Points on the interior of a bezier curve are natively addressed by t-value, which is a fraction of the direction handle distance. To obtain a position that is a fraction of the path length, one must first flatten the entire path into a polygonal approximation, then find the position by adding up the lengths of the flat segments. In contrast, one can obtain a point at a given fraction of the bezier t-value without flattening the path. This is the reason, by the way, that while scatter brushes have more even spacing between objects, they do not fit as tightly to the bezier as blend steps do - they are being placed on a straight line approximation of the path instead of directly on it.) The intention was to get the easy case of t-value based spacing working, and then add the harder case that requires flattening.
    It turned out that we did not have time to add the extra options for AI 8, so it shipped as is. Then Macromedia sued us over live blends because Freehand had them first and as part of the settlement we had to promise to stop enhancing them. Now that the two companies have merged, that issue is moot, so enhancing blends is now a possibility for future versions of Illustrator. (All of you who complain about the cool features that Freehand has had for years and Illustrator hasn't, as if it were perverse and intransigent of Adobe not to follow suit, might want to keep in mind that copying the features of another company's software is often not allowed.)
    In the meantime, scatter brushes can be a good alternative if all your blend steps are the same, but obviously they won't work if your blended shapes are changing along the path.

Maybe you are looking for

  • Set body background image in reflow

    Hi, I've been lookoing up and down to find where I can set a background image for a page in reflow. Cant find it anywhere. If I manually edit the html or css in the files edge generates to add a background image, of course it works, but next time I r

  • In need for sample definition (WSDL) files

    HI, I am required to get some sample WSDL files for an RTC implementation, but I was unable to obtain any. The official developing guide is rather misleading about this. It told me to go to the RTC Integration Services web site (I think Oracle was sa

  • Oracle Linux 6.2 64bit install problem

    Hi all, I had a installation problem of 64bit Oracle Linux 6.2 with HP proliant dl380 g7 (build-in P410i array controller), when i try to install the OS, it will keep in black screen after loading the vmlinuz. I had try the 5.8 32bit version it can p

  • Mail suddenly not exporting messages as PDFs

    I think this is related to recently upgrading to OS X 10.9.3, but lately Mail seems unable to export a mail message to PDF.  I just started using this feature a few weeks ago regularly and now I am unable to use it.  I am almost dependant on this fea

  • How to setup QT Broadcaster on XServe

    Hello friends- I have spent a good portion of my day with a friend trying to configure QT Broadcaster on my XServe so we can serve up some live content on some website we are working on. We have run into some issues trying to get this to work. On the