EJB and large memory - need expert advise.

Hi,
I have an application that uses alot of memory. There are many clients/session connecting to this application with persistent data.
Memory can be think of 2 parts:
- small portion which is different from one session and another, and needs to be persistent
- large portion, which is shared among clients, and change very infrequently. This is a large and complex data structure.
My problem is to avoid performance hit as much as possible. (very high client request rate).
How do I solve this problem using EJB? I am thinking either entity beans or a combination of entity and stateful session manage bean.
Swaping in and out big chunch of memory is slow. Assemble them back takes a lot of time. I may misunderstand how EJB works though. Could some of you help?
Thank you very much in advance,
VD

Is this an impossible thing to do?

Similar Messages

  • Session/jstl  and load balancing - need expert advice

    After user loggs in, I am getting locale from db and storing it inside userSession along with userLogin. Inside jsp using <fmt> tag to display locale based resource property.
    HttpSession userSession = request.getSession(true);
    userSession.setAttribute("UserLogin", oRS.getString("user_login"));
    Config.set(userSession, Config.FMT_LOCALE, currentLocale);Also using filter after login page to check for User Session. Currently all working fine .
    But if i want to make use of load balancing, whether still it will work?
    1)I understand that if i depend on network config i.e. session request sticks to one server then i believe shld not be a problem
    2)But if that is not the choice then what else ? Client want to make use of serialization technique. I do not know much about it, how to implement it, any sample is greatly appreciated.
    3)what about jstl Config.set(..) whether any changes needed here?
    4)Do i need to change filter code.
    Pls pls help me, i really need expert advice on this.
    regards
    Manisha

    1)If i want cluster server to replicate the session
    then all attributes saved in the session have to be
    serializable.yes.
    2)In docs it is mentioned
    Use setAttribute to Change Session State
    In an HTTP servlet that implements
    javax.servlet.http.HttpSession, use
    HttpSession.setAttribute (which replaces the
    deprecated putValue) to change attributes in a
    session object. If you set attributes in a session
    object with setAttribute, the object and its
    attributes are replicated in a cluster using
    in-memory replication. If you use other set methods
    to change objects within a session, WebLogic Server
    does not replicate those changes. Every time a change
    is made to an object that is in the session,
    setAttribute() should be called to update that object
    across the cluster.
    Whether it means that if I want to store a object
    (which is serializable) e.g. 'String' inside session
    and use setAttribute() method then I do not need to
    make that object implicitly serializable?No, you still need the objects to be serializable.

  • Need Expert Advise on Mid -Golive

    Hi Experts
    Hope you doing good !!
    I am working on indian payroll and as we know indian financial year starts from March to April.
    So my golive is on Feb 2012, Kindly suggest me what all things to be considered to get all legal reports and other general data perfectly.
    As its my first implementation need your suggestion on how to golive on midyear please.
    Thank and Regards
    Hat

    Hi Hat
    You need to upload the payroll results from legacy system(including all statutory deductions) to SAP till jan 2012 as your system is going live in feb 2012.
    You need to update table 558B and 558C for which you are provided with excel formats from sap which I am including here for your reference.
    For table T558B use format :-
    Client ,Personnel Number, Sequential number for payroll period,Payroll type,Payroll Identifier Pay date for payroll result,Period Parameters,Payroll Year ,Payroll Period ,Start date of payroll period (FOR period)
    End of payroll period (for-period) ,Reason for Off-Cycle Payroll ,Sequence Number
    558B and C are data conversion tables for mid year go live.
    For Table T558C use format :
    Client ,Personnel Number, Sequence Number ,Country grouping, Wage type,Key date,Rate,Number Amount
    For uploading data, run program HINUULK0, after that execute payroll with standard schema INLK.
    Payroll Period results gets stored in relevant payroll cluster tables.
    Regards
    Moni

  • Active and Inactive partitions - need expert knowledge

    We are out of space on CCM ver 8.5.1 and we are about to do what Cisco says is needed.  We are going to run an iso and re-install 8.5.1, which will formet the drive and all existing data gets overwritten.  Then we will restore the current backup.
    Our inactive partition has ver 6.something.  Can we make that partition the active one, install 8.5.1 over it, then restore the backup to there?  My goal is to preserve our current active 8.5.1 in case anything goes wrong and we will have a place to go back to.  We've asked the Cisco tech every which way and don't think he is understanding what we are asking.

    That would be just futile, if the common partition is full, you'll probably face the same issue when you try to upgrade to 8.5, the common partition won't clean up and free space just because you switch to the previous version.
    You have a few options here:
    A) Use RTMT to clean as much log files and any other unnecessary files as possible
    B) Use the ciscocm.free_common_space_v1.1.cop.sgn and lose the ability to switch back at that point
    From README
    Important Note: This COP file does not install anything on the node. It just runs a script that
    removes the inactive side in the common partition to free up the disk space so that upgrade is
    successfully completed. You will not be able to switch back to the inactive version after installing this patch.
    C) If this is on ESXi, use the ciscocm.vmware-disk-size-reallocation COP file to increase the disk size and then try the upgrade.
    D) DRS restore on a fresh install as they instructed.

  • Need expert advise on CoA segment change

    Hi Gurus,
    Need the input on achieving the below requirement.
    Requirement:
    Current CoA uses Cost center (3 character length and numeric type) as one of the segment. Client has exhausted all the 999 values and trying alternatives to accommodate new values.
    Option 1: Is it possible to change the segment and value set type from numeric to alpha characters so that client can introduce alpha numeric values to accommodate new requirements?
    Option 2: Is it possible to expand the current length from 3 to 5 in the CoA segment definition and value set attached to Cost center segment? If yes, then what are the other implications that has to be taken care of.
    Thanks a lot!

    hi my friend
    according to :
    E1: 09: FAQ - Frequently Asked Questions Regarding Chart of Accounts [ID 664720.1]
    Question :
    What will occur if I make changes to the object length in the flex format?
    your Answer is:
    If it is necessary to change the account structure, do not change the structure using the Flex Format Setup (P0907). The program will allow changes to the account structure, but currently there is no method of updating the existing chart of accounts and transactions to the new format. Changing the structure after transactions have been entered will damage existing records and cause multiple errors throughout the software.
    There is no workaround for this issue without creating a custom program to change the account structure throughout the database
    good luck. :)

  • Business Process requirement for Steel Industries : Need expert Advise

    1. What is the best solution for i. setting weekly  production order priority with option to reshuffle priority withiout lossing earlier given priority ii. issuing melt index no for production orders , iii. issuing heat no for melt index & production order.
    2. Addressing the dual unit of measurement for ingot & billet  no of pcs vs Kg / Lbs. There is no fix relation for pcs & lbs & varrying for very production lot ( eg 10 cm dia x 2 meter length steel ingot may have wt any values betwwen 400 lbs to 420 lbs. )
    3. What is the best solution for making Molten lot  to load the full furnace capacity say 50000 lb per shift , this molten steel will pass throug the hot / or cold rolling mills to get the finished products. so we need to group the similar members for make lot of molten steel.
    Rajiv K. Pandey , PMP
    SAP SCM-PP certified Consultant

    Dear,
    Try defining by this way ...
    In material master:
    Sales UOM = PCs. (Master Data->Sales Data Tab->Sales UOM) ;  Inventory UOM = PCs. (Master Data->Stock Data Tab->Stock UOM).
    If you want for purchases you can define at Master Data->Purchase Data Tab->Purchasing UOM.
    Maintain the correct conversions for the materials.
    Regards,
    Syed Hussain.

  • Need Expert Advise on  Profile Matchup in HCM

    Dear all, we may be familiar with profile matchup using Employees (P) versus potential Position (S).
    I have 2 requirements;
    1. to do a matchup at the department level (or based on a group of employees instead of single). Is this possible via standard or customising is required ?
    2. Calculating deficiency and output as figures. for example, if i have a score of 2 for language English proficiency and the ideal scale is 5, i want the system to say that my score is 2/5 = 0.4 (40%) in a nice formatted display.
    Are both achievable? For your kind advice.

    Peter whatever you mentioned in your query can be achieved a few pointers on how this sis possible:
    1. your qualifications catalogue and the design of the same determines how you achieve your results.
    2. make sure your config for 'scales' against qualification are correct.
    3. make sure the assignment of the qualifications to different agents --> position/person/jobs et al is done according to the business process requirements.
    4. profile match-up std reports in ecc may not give you a beautiful user-friendly interface to report on however once you got your data and config correctly, I dont see why you cannot go ahead and build a couple of good reports for business critical processes.
    cheers

  • Smart paging Question , What happen if i don't enable smart paging and available Memory is about 1GB and the VM need 3GB for Booting ?

    Hi ,
    I configure a dynamic memory With 512 MB for a VM , and available memory 1GB
    what happen when I boot the VM , While it actually need 3GB for booting - Note I don't configure Smart Paging ?
    Thanks.

    You won't be able to boot at all.
    pagefile and dynamic memory only comes into play when you don't have enough memory on the host, to support the 'startup RAM' on the VM, and when the VM does a
    reboot.
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • Is there any difference between DDR3 memory and LPDDR3 memory? As i brought my macbook air 2013 recently and i saw the specifications it is indicating DDR3, buy apple website stated LPDDR3. Anyone can advise on this?

    Hi
    Is there any difference between DDR3 memory and LPDDR3 memory? As i brought my macbook air 2013 recently and i saw the specifications in the system info that is indicating DDR3, but apple website stated LPDDR3. Anyone can advise on this?

    Welcome to Apple Support Communities
    Read > http://en.wikipedia.org/wiki/Mobile_DDR DDR is the RAM used in computers, and LPDDR is common in mobile computers

  • HELP! Problems using large memory on windows 2003(32bit) and Oracle 11g

    i have Oracle 11g installed on windows 2003 enterprise server 32bit with 6GB RAM.
    And I followed the steps to enable the Very Large Memory support:
    1. add /3GB /PAE in c:\boot.ini
    2. add AWE_WINDOW_MEMORY entry in the regitry and set it's value to 209715200
    3. as for init.ora:
    add:
    dbblock_lru_latches = 64
    db_block_size = 4096
    db_block_buffers = 262144
    remove the parameters: db_cache_size,sga_max_size
    it does work when I use Oracle 10g, but for Oracle 11g, there are some errors:
    ORA-00371: not enough shared pool memory, should be atleast **** bytes
    OR
    ORA-27102: out of memory
    Can anybody share the experience in Oracle 11g?
    Much thanks!

    Increase your shared_pool_size parameter
    It looks like you have set the memory 1gb after setting up /PAE and /3GB switch
    4096*262144=1GB...
    Then why did you set /3GB

  • Large Memory Pages and Mapped Byte Buffers worthwhile?

    Hi
    I have just been reading about large memory pages that let the OS work with memory pages of 2M instead of 4k thus reducing the Translation-Lookaside Buffer Cache misses on the CPU. However my use case revolves around using mapped bytebuffers on a machine with 32GB of memory and file sizes of 400GB or more for the file underlying the mapped buffer, my program is very memory intensive and causes the OS to do alot of paging, hence my desire for any way to speed up access. Would using large memory pages in linux and the java vm option +UseLargePages have any affect on read/writing data from mapped byte buffers or is it only applicable to data that is always resident in memory?
    Thanks in advance

    Hi
    I have just been reading about large memory pages that let the OS work with memory pages of 2M instead of 4k thus reducing the Translation-Lookaside Buffer Cache misses on the CPU. However my use case revolves around using mapped bytebuffers on a machine with 32GB of memory and file sizes of 400GB or more for the file underlying the mapped buffer, my program is very memory intensive and causes the OS to do alot of paging, hence my desire for any way to speed up access. Would using large memory pages in linux and the java vm option +UseLargePages have any affect on read/writing data from mapped byte buffers or is it only applicable to data that is always resident in memory?
    Thanks in advance

  • Web Gallery - need file name on thumbnail and large image

    I think I have tried all the CS3 templates, but haven't found what our client is requesting. Is there a template that shows the file name on both the thumbnail and large image, and will make large images of 600-800 pixels (long dimension)?
    Thanks in advance,
    Dan Clark

    Thanks for your reply Nini. Yes, I had gone through all the presets and options. Was hoping I might have missed something, or that someone knew a trick/workaround. We've been using Table-Minimal for years, which is my overall favorite. I like to ability to make a large image, but it can't do what the client is requesting. They've made a list of selects from some very large galleries (200-300 shots each), and now want to jump directly to the shots they've previously chosen, in order to show their coworkers. I've also considered "Add Numeric Links", but I find that either confuses people, or they give me that number, instead of the file name/number, which makes a lot of extra work for us.

  • Need expert advice on buying new macbook pro 15 inch

    Hi I Am a digital textile designer and  planning to buy my first retina macbook pro. I need expert advice, which model should i buy 15 inch base model or with dedicated graphics card. i will use macbook for digital designing on Adobe photoshop and multi tasking. so now really confused is intel iris pro graphics will handle heavy files on photoshop or Nvidia GT750 m will good for heavy work. I am working on very large resolution file like 10 to 15k in resolution approx 1 GB in file size with lot of filters is being use while designing. Which model will handle above task well and last longer.

    Look at the specifications here:
    http://store.apple.com/us/buy-mac/macbook-pro
    You may be confusing the quad core CPU with the Graphics processor.
    It should have no difficulty in running Adobe Photoshop.
    Ciao.

  • Query is allocating too large memory error in OBIEE 11g

    Hi ,
    We have one pivot table(A) in our dashboard displaying , revenue against a Entity Hierarchy (i.e we have 8 levels under the hierarchy) And we have another pivot table (B) displaying revenue against a customer hierarchy (3 levels under it) .
    Both tables running fine under our OBIEE 11.1.1.6 environment (windows) .
    After deploying the same code (RPD&catalog) in a unix OBIEE 11.1.1.6 server , its throwing the below error ,while populating Pivot table A :
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)*
    But , pivot table B is running fine . Help please !!!!!
    data source used : essbase 11.1.2.1
    Thanks
    sayak

    Hi Dpka ,
    Yes ! we are hitting a seperate essbase server with Linux OBIEE enviorement .
    I'll execute the query in essbase and get back to you !!
    Thanks
    sayak

  • HT3986 I've had MS Office:mac 2011 on my imac for around 18 months now.  Outlook has just disappeared and when I find the file and open it it tells me that there is a problem and I may need to re-install it.  I've just done this using the installation dis

    I've had MS Office:mac 2011 on my imac for around 18 months now.  Outlook has just disappeared and when I find the file and open it it tells me that there is a problem and I may need to re-install it.  I've just done this using the installation disc which, then said the installation had been successful.
    Outlook is still not working.  Can anyone please advise me on what to do next.

    Remove MS Office 2011 completely (here are instructions) and reinstall it.
    It's not a simple or fast process but it is important to follow all of the steps in order to get all the files that Office scatters around. This will not affect your data files, only MS Office and its preferences.

Maybe you are looking for

  • XMP doesn't display proper info in Photoshop CS2 for Mac.

    Dear List members: I have just recently installed Creative Suite CS2 and begun to explore the functionality of XMP. After purchasing Bruce Fraser's book on Camera Raw for CS2, I downloaded Metalab (Pound Hill Software) and created my first custom XMP

  • HT201412 None of the abot helps, and I can't even restore with iTunes, as my Ipad is not visible in iTunes at all.

    Hi. I am having trouble with my iPad 1. It doesn't switch on, can't restart it, can't reset it, and can't even restore it with iTunes, as it's just no visible with iTunes at all. And yes, I have charged the battery for several hours just before doing

  • Passing a range of dates from Visual Composer 7.0 to Bex Analyzer

    Dear Experts,          I created a button in my Visual Composer model that has the following settings: System action:  Hyperlink Apply to:  Self Hyperlink address:  "...QUERY=BMMSEG_C01_SAS_Q0001&BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE&BI_CO

  • Form Field Format

    I regularly convert existing documents to fillable forms that contain all number fields for insertion of dollar amounts.  It is very tedious to change the formatting of each field to a numeric format and would like to know if there is a way (and how)

  • NetWeaver Developer Studio version

    Hi, I am getting an error message "java.lang.NoSuchFieldError: _typeRegistry"  running Web Dynpro using webservice. I am using full SneakPreview SP15. I replaced webservices_lib.jar file in J2E. But now I got new error "java.lang.NoClassDefFoundError