I need to add a hash map object programatically to spring application context object.I am a newbie to Spring frame work. For every request I need to compare the key-value pair.if the key is not found i need to update the hashmap with new key-value and then again store it back to applicationContext .Can anyone please help me to solve this.
I am conneting flex with Java using blazeDs.I am using spring framework.Can any one suggest how to maintain session in blazeDs.
I am using flexSession.getId() to get the current session Id.I implemented FlexSessionListener interface so that i can use the two methods sessionCreated and sessionDestroyed methods to clean and create certain resources. But I found it is session is maintained browser base.when the browser is closed ,the session is maintained..Even if I open from mozilla and explorer from same computer.I am having different session Id. Can any one suggest how to tackle this situation.
I have 3 clients which is updating my database,these three cleints is changing the data in the database at the same time.i want to to solve make the updation one by one with out using the thread mechanism(like synchronization ).
How session is handled in jsp ? A interviewer asked me this question.What exactly he meant by this question?
I answered as session is implicit object ,So it will automatically avaliable.or if we make session=false.it will not participate in the session.Does i made any sense.