Web Application - Data caching of enterprise data

Sorry in advance if this is off-topic but I can't find anywhere else to post this type of question.
I am looking for information/suggestions such as books, technology or design methodology for my enterprise web applications. These sites are currently up and functional using only JSP, servlets and regular Java classes stored in a web application session to provide data caching and access. We are using Weblogic Server 6.1 running on an AIX Unix system at this time. I'm not sure that this is the best design architecture as our web sessions are getting too large but I can't think of any other Java technology to use and I need some help. Here's an overview of our environment and our needs.
Our core data is held in a mainframe based IMS system. Some DB2 is also used. Access to this data is through IMS COBOL transactions which we can execute with IMS Connect. We also use some JDBC to get to the DB2 tables directly where available.
Some overall application data is cached when the web application is deployed. We use singleton classes which are created and refreshed at deployment and they then refresh themselves from the sources every 24 hours.
Each time a user logs in we execute several IMS transactions and JDBC calls to cache user specific data in regular Java classes which are then simply placed in the users web session where we access them from JSP, servlets and other Java classes. The fields in these Java classes range from any type of primitive field to TreeMaps of other Java classes. As the data is cached it is sorted and other fields are calculated and stored in these classes. As the user progresses through the system we then may have to do several other IMS transaction and JDBC calls to collect other types of data. All of this is then also added to the users session. Most of this in inquiry. We do allow transactions but those are built from user input and data already cached and are then we just execute the IMS transactions with the input.
As our application has grown these Java classes have gotten larger and larger. And since these are simply stored in server memory in the web sessions then these are also getting huge. I'm concerned that this is not the best way for this application to be architected. Is there something else we should be doign? I simply don't understand how Entity Java Beans could be used but then again I don't know much about them. I wouldn't think that caching the data to a local database and accessing it from there would be any more efficient and would probably just slow down the system from all the I/O.
Any help or direction would be greatly appreciated.

The best book you can buy is 'Professional Java Server Programming, j2ee edition' by Wrox. It is by far the best reference I've used. Another quick reference consideration might be the j2ee book provided by codenotes... its quick and to the point.

Similar Messages

  • UCCX copy data in the enterprise data window right to the clipboard

    Hello I need help please! how to write a macro to copy data in the enterprise data window right to the clipboard? I should be able to take the data right from enterprise data and copy it to the clipboard so the agent can paste it into any application they want.  The macro step wants an application first - how do I get around this?
    Thanks.Hello I need help please! how to write a macro to copy data in the enterprise data window right to the clipboard? I should be able to take the data right from enterprise data and copy it to the clipboard so the agent can paste it into any application they want.  The macro step wants an application first - how do I get around this?
    Thanks.

    Do you have more than one enterprise fields showing your CAD layout?
    Do you wish to copy all of the them or just one of them?
    Do you wish to copy the name as well as the value?
    At any rate, a macro is not needed to copy the enterprise data.  You simply double click it and press CTRL+C.
    See this video here, which shows me doing just that:
    http://www.youtube.com/watch?v=88E-z0ShlFE&list=UUkB02mmFBBZqVBWY5XHAsoA&index=12&feature=plcp
    A macro might just complicate the matter, and force the Agent into a single option.  But let's get your answers to the above first, before we make any final decisions on the matter.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Web Application Designer  (CACHE / GRAPH)

    Hi Guys,
      I have question:
    The web template is always showing me the old execution. Is there any way to refresh the cache or something?
    I can't see the graph displayed in WAD. Any suggestion?
    Thanks and Regards,
    Iván.

    Hi Ivan,
    There should be no need to empty the cache. Did you try after closing the web application and then re-executing it? Try this and do not just refresh the screen.
    Hope this helps...

  • How do I setup SharePoint 2013 web applications for 2 TB of data?

    Hi,
    I know Microsoft recommend to have 1 App pool with 1 Web App and 1 Content Database. 
    The issue is that in my company SharePoint is going to be a file repository with about 2 TB of data. Management wants that to happen. 
    I was thinking to have 1 App pool and about 18 Web App for each department so that it can hold all that data with a maximum of 200 GB per Content DB in 2 SQL clustered servers. 
    Is that OK? Is this best practices?

    Chicho84,
    Yes, in SharePoint it is suggested to not allow to grow content DB more than 200 GB. Now will your environment starts with 2TB (after migration) or it will steadyly migrate eventually 2TB data. If so that you can think of Host heard site collection with
    individual content db.
    I am sure that you know that SharePoint is not only a DMS but also come with variety of useful service like Search, Workflow, Forms, Social etc. Thease all are going to be a important tool in your organisation. So planing for other services and hardware
    is also very important.
    These are few links which you can refer as starting point :
    http://technet.microsoft.com/en-us/library/cc262451.aspx
    http://technet.microsoft.com/en-us/library/jj219628.aspx#HW_Enterprise
    http://social.technet.microsoft.com/wiki/contents/articles/12438.community-best-practices-for-sharepoint-2013.aspx
    Hope it will help you.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • What is the best way of persisting Web-application related data?

    My web-application needs to persist some data (a set of XML documents), i.e. save them so that they can survive server or application shutdowns. Saving those documents as files in server's filesystem does not seem to be convinient to me because the container may run the application directly form WAR and it is impossible (maybe I am wrong?) to modify files inside WAR archive. Forcing WAR extraction requires container reconfiguration and is container implementation dependent, which is not acceptable.
    What would be ideal is some individual persistent storage bound to an application which does not require any external enitites (external databases etc). And this storage should not depend on any particular implementation of servlet container.
    So is there a way to do something like this?

    Saving it to disk seems like your only alternative.
    Presuming you have at least some control over the machine where it is deployed to, you could specify a directory to save the xml documents to (ie not one under your web application structure) This would get around the limitations of the WAR file not being extracted.
    Make the directory an environment variable/init parameter in your web.xml file.
    All you need then is a directory on the server that you have write permissions to.
    Ok it requires more setup when deploying the web application, but I thinks its about the only way to accomplish what you want to do.

  • Data Cache Vs Data Retreival buffers

    Hello All-
    I want to know how does the increase / decrease of data cache effects the size of Data retreival buffer size?
    I was going through dbag and it says
    *"When you retrieve data into Essbase Spreadsheet Add-in for Excel or use Report Writer to retrieve data, Essbase uses the retrieval buffer to optimize the retrieval"*
    Is there any interdependence between data cache size and data retreival buffer?
    Moreover in dbag i found in section "Enabling Dynamic Retrieval Buffer Sizing" as follows:
    If a database has very large block size and retrievals include a large percentage of cells from each block across several blocks, consider setting the VLBREPORT option to TRUE in the Essbase configuration file essbase.cfg.
    Has anybody used this command in past and can let me know the pros and cons of it?
    Thanks!

    Hello Glenn-
    Thanks for the reply. On reading dbag ahead it states:
    When the VLBREPORT setting is TRUE, Essbase internally determines an optimized retrieval buffer size for reports that access more than 20% of the cells in each block across several blocks. This setting takes effect only if the outline does not include Dynamic Calc, Dynamic Times Series, or attribute members.
    The above sentence in bold what does that mean? It seems to be a vague statement as i cant imagine of an outline which dont have dynamic calc or dynamic time series enabled. Moreover my outline has 6 different attribute dimensions as well.
    If i understood it correctly and i put this command in config file and have any of the above mentioned constraints (Dynamic Calc, Dynamic Times Series, or attribute members) in outline it will not work ??
    There is another quick question not related to this post i was going through my application configuration file and here is a copy of it:
    *; The following entry specifies the full path to JVM.DLL JvmModuleLocation E:\Hyperion\common\JRE\Sun\1.5.0\bin\client\jvm.dll SharedServicesLocation admin.companyname.int 58080 AuthenticationModule CSS http://admin.companyname.int:58080/interop/framework/getCSSConfigFile AGENTDESC ESSBASE Service*
    CALCLOCKBLOCKHIGH 500
    CALCLOCKBLOCKDEFAULT 200
    CALCLOCKBLOCKLOW 50
    The sentence that is marked as bold whats the purpose of that statement in confirg file ? Do we need it in our configuration file or we can delete it?
    Thanks!

  • Need input on data cache

    Hi All,
    This is the situation..
    Data cache = 3mb (default)
    Data block size = 20kb
    so number of blocks a memory segment (data cache) can hold is 157
    What will happen If user is retrieving 300 blocks in one retrieval ?
    I know swapping will takes place for multiple retrievals.
    I know that agg cache in ASO will increase till OS say no it.
    Will Essbase tries to increase data cache....?? if so how it works??
    My understanding is Essbase tries to increase data cache and it may touch the wrong segment in memory to create a segment violation to crash!!
    As per the modern OS, virtual memory management using pages and segments ...I think this will takes place!!
    Please give your inputs!!
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 28, 2011 7:12 PM
    Edited by: Jithendra on Mar 28, 2011 7:14 PM
    Edited by: Jithendra on Mar 28, 2011 7:15 PM

    Hi,
    I just did an initial analysis....
    It is always 3mb. (never increased it)!!
    XCP log says it stopped at executing the maxl!! ..like (Maxl pending)
    and its an segmentation violation!!
    from my understanding segmentation violation is something to do with kernal memory allocation, virtual memory and physical memory.
    I cannot try the same on prod server (pls don't ask why the settings are default etc ..I'm new to the system)
    I just provided an intial analysis telling that at this point of time...the highly visible point to me is data cache in buffered I/o.
    The segmentation violation can also happen at total level of availability of RAM.
    but in our case we are using only 1/3rd of the Total available RAM.
    memory in all applications = (1/3rd of available RAM)
    and its a Maxl operation...
    by seeing al this i suspected the application cache.(data cache)
    I posted only to gather little mor info and to have a debate to get clear understanding.
    Thanks for your support and input...
    Please advice
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 29, 2011 1:37 AM

  • Livecache data cache usage - table monitor_caches

    Hi Team,
    We have a requirement of capturing the Data cache usage of Livecache on an hourly basis.
    Instead of doing it manually by going into LC10 and copying the data into an excel, is there a table which captures this data on a periodic basis which we can use to get the report at a single shot.
    "monitor_caches" is one table which holds this data, but we are not sure how we can get the data from this table. Also, we need to see the contents of this table, we are not sure how we can do that.
    As "monitor_caches" is a maxdb table I am not sure how I can the data from this table. I have never worked on Maxdb before.
    Has anyone had this requirement.
    Warm Regards,
    Venu

    Hi,
    For Cache usage below tables can be referred
    Data Cache Usage - total (table MONITOR_CACHES)
    Data Cache Usage - OMS Data (table MONITOR_CACHES)
    Data Cache Usage - SQL Data (table MONITOR_CACHES)
    Data Cache Usage - History/Undo (table MONITOR_CACHES)
    Data Cache Usage - OMS History (table MONITOR_CACHES)
    Data Cache Usage - OMS Rollback (table MONITOR_CACHES)
    Out Of Memory Exceptions (table SYSDBA.MONITOR_OMS)
    OMS Terminations (table SYSDBA.MONITOR_OMS)
    Heap Usage (table OMS_HEAP_STATISTICS)
    Heap Usage in KB (table OMS_HEAP_STATISTICS)
    Maximum Heap Usage in KB (table ALLOCATORSTATISTICS)
    System Heap in KB (table ALLOCATORSTATISTICS)
    Parameter OMS_HEAP_LIMIT (KB) (dbmrfc command param_getvalue OMS_HEAP_LIMIT)
    For reporting purpose , look into the following BW extractors and develop BW report.
    /SAPAPO/BWEXDSRC APO -> BW: Data Source - Extractor
    /SAPAPO/BWEXTRAC APO -> BW: Extractors for Transactional Data
    /SAPAPO/BWEXTRFM APO -> BW: Formula to Calculate a Key Figure
    /SAPAPO/BWEXTRIN APO -> BW: Dependent Extractors
    /SAPAPO/BWEXTRMP APO -> BW: Mapping Extractor Structure Field
    Hope this helps.
    Regards,
    Deepak Kori

  • Adjusting CALCLOCKBLOCK and data cache

    if my block size is 37464 then what should my CALCLOCKBLOCK size in the cfg.file be
    Per doc (Max=half of the number of block that can fit in to the data cache)
    and my data cache is 3072 kb
    what is the best setting for the data cache and the CALCLOCKBLOCK
    or should i just use a Data memory loclking
    and if i do use the the data cache lock what would be the CALCLOCK BLOCK Setting
    this is how is set it up in my cfg.file
    //Set Calc Lock Block, How many block can be locked at one time
    CALCLOCKBLOCKHIGH 5000
    CALCLOCKBLOCKDEFAULT 2000
    CALCLOCKBLOCKLOW 500
    Please advise
    Edited by: Next Level on Jul 4, 2012 2:05 AM
    Edited by: Next Level on Jul 4, 2012 2:11 AM
    Edited by: Next Level on Jul 4, 2012 2:35 AM

    FWIW, I have never, and I mean never touched CALCLOCKBLOCK. I can see why one might want to fiddle with it, but in 18 years (yikes!) of BSO development, I have never seen a reason to do it.
    Why do you want to change that value? 99.999% of the time, the issue isn't the number of blocks in memory isn't the issue, but the ability to have the default (I think) 100 blocks in memory. I suppose one could have a calc that touches more blocks, but I have never seen it. It would be slow, for sure and I would likely find another way to do the calc.
    Regards,
    Cameron Lackpour

  • Enterprise Data

    Woudl the community agree that, with respect to Enteprise Data;
    (a) Set Enterprise Data is when we want to send the value of a local variable up to the server.
    (b) Get Enterprise Data is when we want to get the value of Enterprise data and send it to a local variable.
    I also note that I can not Set Enterprise Data if I am inside a Select Resource Step?
    I want to push the CallBackNumber entered by a caller out to the agent, but I only connect this information when I am in Queue and give them the option to request a call back.  

    Hi,
    an enterprise variable is a variable visible from the enterprise (agent desktop, ICM, etc), while a regular script variable is accessible for the running script instance only. It's not actually "sending" or "receiving" from/to anywhere, it just changes the call context (which may be interpreted as "additional information attached to the call").
    I would recommend you to consider modifying your script: first, check whether there is an available agent. If not, ask the caller to enter the callback number and then place him into the queue. You'll be able to set the value of an enterprise variable before actually sending the caller to the agent.
    G.

  • Error while deploying web application in OAS

    I was trying to deploy a web application in OAS through enterprise manager. But I get the following error. Can any one please help me.
    An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
    Archive Location - Failed in uploading archive. Invalid archive file: Unsupported archive type. unknown

    As the error message tells, did you make sure you have a correct/valid archive file? You might try deploying it from command line to make sure issue isn't at EM side.
    For 10.1.3 refer:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/overview.htm#CJAJHJIA
    For 10.1.2 refer:
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEIJGHDG
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEICHFGJ
    Thanks
    Shail

  • What's the difference between a web site and a web application?

    I'm stumped trying to come up to a difference between a web site and a web application for myself. As I see it, a web site points to a specific page and a web application is more of some sort of 'portal' to content and information.
    But where I'm stuck is that a web application is still viewed through a browser (is it not?) and a web site can still view content dynamically, making the line between web site and application prety gray.
    For instance, does a web site using ASP.NET or AJAX (I assume ASP.NET is AJAX's proprietary sibling, if not, ignore ASP.NET AND concentrate on the AJAX), becomes a web application because it can retrieve data dynamically and asynchronously or would a website
    using PHP and a CMS be more of a web application because it forms the pages on request, based on the request of the client and its content in its databse?
    Or maybe I'm totally wrong here - what differenciates between a web application and a website?
    http://support.peopleperhour.com/entries/68630566--C-mon-lets-Watch-The-Other-Woman-2014-full-movie-online-free
    https://glossicom.zendesk.com/entries/68643806--%D0%BC-v%C9%AA%C9%9Bc-%C3%A4st-Watch-The-Lucy-2014-full-movie-free
    https://cloudhance.zendesk.com/entries/68115098--%D0%BC-v%C9%AA%C9%9Bc-%C3%A4st-Watch-The-Lucy-2014-full-movie-free
    This is totally personal and subjective, but I'd say that a website is defined by its content, while a webapplication is
    defined by its interaction with the user. That is, a website can plausibly consist of a static content repository that's dealt out to all visitors, while a web application depends on interaction and requires programmatic user input and data processing.
    For example, a news site would be a "website", but a spreadsheet or a collaborative calendar would be web "applications". The news site shows essentially the same information to all visitors, while the calendar processes individual data.
    Practically, most websites with quickly changing content will also rely on a sophisticated programmatic (and/or database) backend, but at least in principle they're only defined by their output. The web application on the other hand is essentially a program that
    runs remotely, and it depends fundamentally on a processing and a data storage backend.
    http://support.peopleperhour.com/entries/68125597--%D0%BC-v%C9%AA%C9%9Bc-%C3%A4st-Watch-The-Lucy-2014-full-movie-free
    https://cloudhance.zendesk.com/entries/67541393--Watch-The-Godzilla-2014-free-Online-Full-Movie-HD-Quality
    http://support.peopleperhour.com/entries/68168787--Watch-The-Godzilla-2014-free-Online-Full-Movie-HD-Quality
    https://glossicom.zendesk.com/entries/68161538--Watch-The-Godzilla-2014-free-Online-Full-Movie-HD-Quality
    There is no real "difference". Web site is a more anachronistic term that exists from the early days of
    the internet where the notion of a dynamic application that can respond to user input was much more limited and much less common. Commercial websites started out largely as interactive brochures (with the notable exception of hotel/airline reservation sites).
    Over time their functionality (and the supporting technologies) became more and more responsive and the line between an application that you install on your computer and one that exists in the cloud became more and more blurred.
    If you're just looking to express yourself clearly when speaking about what you're building, I would continue to describe something that is an interactive brochure or business card as a "web site" and something that actually *does something that feels
    more like an application as a web app.
    The most basic distinction would be if a website has a supporting database that stores user data and modifies what the user sees based on some user specified criteria, then it's probably an app of some sort (although I would be reluctant to describe Amazon.com
    as a web app, even though it has a lot of very user-specific functionality). If, on the other hand, it is mostly static .html files that link to one another, I would call that a web site.
    Most often, these days, a web app will have a large portion of its functionality written in something that runs on the client (doing much of the processing in either javascript or actionscript, depending on how its implemented) and reaches back through some
    http process to the server for supporting data. The user doesn't move from page to page as much and experiences whatever they're going to experience on a single "page" that creates the app experience for them.

    ...can i make as many iweb websites as i want? ...and as many blogs as i want? ...i have never made one before....
    ....although, i do have my own small business and i do have a website that i paid a guy to make and also host....(which is a waste of $$$$ in my opinion as i think i can do a better job making one myself through iweb) ....
    ...anyways, i know it is splitting hairs but what exactly is the diff b/w a blog and a website ....i am under the impression that a blog is just a personal newsletter sort of thing,...?

  • Graduation project: ideas for a web application

    Hello,
    I apologize for posting this topic in here but I just need ideas from more experienced developers, we are a group of 5 students in computer science department and we are required to make a graduation project for a 1 year perioed, we have an average experience in J2EE, JSP, struts and JSF and J2SE and we are required to make the project as a web application but we just couldn't find any new or interesting ideas all the web application are either blogs, emai/webmai, Content Management systems, Customer relationship management, ... but we are looking for a new ideas, we've been googling for more than a month now and we've already checked alot of posts in this forum for ideas. we just want to know what services people need from the internet that could be made as a web application. Thank you very much

    Rather than looking for a cool "theme" can you give some ideas of what you need to showcase in this application?
    Is it just a basic web application - ie slap a few data entry screens together into a screenflow, and do some calculations at the end
    Do you need to demonstrate knowledge of the technologies you mentioned (J2EE, JSP, struts, JSF...)
    Do you need to push the limits of the web interface?
    Do you need to "break new ground"
    Ajax is a useful thing to investigate and push the boundaries with.
    Or take a web application and make it multi platform - ie access it with a browser, via a mobile phone - see what you need to do to accomplish that.
    The only other idea would be to do some sort of game/simulation.
    Multi user obviously.
    eg a stockmarket sim, where you can log on to buy/sell shares. You also hook up your app to some XML feeds where it picks up the daily changes so you don't have to enter them manually.
    Will demonstrate both user interface, and back end functionality.
    Good luck,
    evnafets

  • Web application

    Hi,
    I have a java class which can to insert data into a data base MS ACCESS XP. My java class is ok.
    I create a JSP which use my java class.
    So I use Apache Tomcat, i have a directory webapps, and in this directory i have a directory 'JSP' where i place my .jsp. In the directory webapps, i have another directory web-inf where i have a directory 'classe' where i place my .class.
    I have placed my database MS ACCESS XP in the directory webapps.
    When i launch my web application, I can introduce the data in my jsp, but when i submit the data i have an error driver odbc. It doesn't find the DB.
    Where my DB must be placed?
    Where the driver must be placed?
    HELP ME PLEASE.
    Excuse me for my english, I'm from belgium and speak french.
    Thanks

    Hi ju_fa,
    I wouldn't deploy an app this way.
    I'd recommend that you create a WAR file and put that in the TOMCAT_HOME/webapps directory instead of creating a WEB-INF.
    You can take care of your database placement in either of two ways.
    The best thing to do is to look at the Tomcat docs about how to create a JNDI data source:
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    If you'd still rather use a connection string inside your Java app, write the database URL like this:
    String databasePath = "c:\\foo\\bar\\baz.mdb";
    String url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mbd)};DBQ=" + databasePath;
    Connection connection = DriverManager.createConnection(url);Now you can put your Access database anywhere you want. Just change the databasePath value to the location that you'd like it to live. - MOD

  • Offset in Web Application Designer

    Hi,
    i try to build a Web Application in which the the Date (0CALDAY) is addicted to the actual day and then do an offset of 7/14/31 days on it. The offset should be chosen by an Tabstrip (one for 7, one for 14, one for 31), but the Query should always be the same.
    But i can't find the option in WAD to set the selection state on a variable with an offset.
    Is there any possibility?
    I hope you could follow my problem, i'm not an english native speaker...

    I think you should be able to set the state of the variable with  a 'variable type' = binding type. Then for binding type select variable and then select a special variable (new to be created in query, maybe filled with userexit or just one based on selected date in query with offset) to fill this value.
    Hope this helps you on your way
    C.

Maybe you are looking for

  • How can we generate our FTP license using TrueLicense software ?

    Hi friends, I am Jaymin Shah from India. Currently I am developing an J2EE application for office use. Now I want to commercialize that application. So, I look around the web and found TrueLicense as a good Licensing software available for Java.. It

  • XMP Custom File Info panels vs. Custom Metadata

    Sorry if this question is a little confused, but I don't exactly know what I am talking about yet. I use Rob Cole's custom metadata plug-in, which is great as far as it goes. As I understand it, it is a way to create custom data fields in the Lightro

  • Adobe Premiere Pro showing "licence for this product has stopped working"

    I have tried everything in the forum but nothing helps. please help me Only Adobe Premere Pro is showing this problem while rest all the things are working fine. not is it showing any error number.

  • Re cataloging expired tapes

    We have a pair of tapes that we need to recover some files from. Sadly they are outside of our retention range, which was an oversight with setup and I have fixed that. But I mark the tapes as free then unmark them as free and select re catalog tapes

  • Macpro 3,1 GPU requirements for Photoshop CC, Video Editing 4K

    Hi - I'm looking to upgrade my paltry 512MB graphics card in my MacPro 3,1 2008 2.8 8-core to handle Photoshop CS5, CS6, CC, as well as Final Cut/Premiere 4K editing. Most if not all GPU reviews are focused on gaming performance but I'm just interest