persistent

CORBA: Java's servertool does not allow me to register a server class

Hi all, Have been pulled down into the realm of CORBA... I am trying to quickly learn (if not master...) CORBA along side its Java mappings. I have come upon some old tutorials: Java IDL: The "Hello World" Example Naming Service orbd - The Object Request Broker Daemon I have created a project with the source from the first link abo...

JDO not fetching collection member field.

Hi Have a class: class Node implements Serializable { private String name; public String getName { return name; } public void setName(String val){ name = val; } public Node(){} } @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true") class NodeBag implements Serializable { @PrimaryKey ...

Open Source memory mapped hash table utilities for Java

Are there any open source implementations of the following: given a set of keys and values, and a hash function, build up a hash table in a file image, such that it can then be mapped with a java.nio mapped file to avoid copying all the contents into virtual memory for lookups? ...

Is there any c++ persistent solution like java hibernate ?

Hello all correct me if i wrong but i don't know any solution in c++ that is similar to java persistent hibernate is there ? ...

What's the best way to share Durable WCF components? WF?

Hi all. I'm currently experimenting with Durable WCF components which persist themselves in between method calls. This uses the [DurableService] attribute. This allows me to add some state to a component, close my connection to the client, perhaps wait for a while, create an entirely new client, hook back to the previous component and...

Persistent Data with Javascript

Hi, I have an application that has a "parent" window. In the parent window there are menu items, like the following (using PHP here): // sample link echo "<li><a href=\"#\" onclick=openurl('covershift.php');>Shift Coverage</a></\ li>"; // logout link echo "<li><a href=\"#\" onclick=openurl('logout');>Logout</a></li>"; Each link open...

How do you enable SSL sessions for your HTTPS service?

Following on from the best answer here: http://stackoverflow.com/questions/548029/how-much-overhead-does-ssl-impose Is there a way to optimise SSL beyond a simple apache SSL install? From the best answer given on that page I infer that there is some way to set-up persistent SSL sessions over multiple calls (where there is less handshak...

Are android wallpapers persistent?

I have an application that sets the user's background. Is it possible to remove the wallpaper if my app is uninstalled? ...

looping web method until data is found and then return from web service for chat application in asp.net

Hi guys, I have to implement gmail style chatting in my asp.net website. now i know much has been said in this regard here and other forums...about COMET and its befits.... i recently saw this site www.indyarocks.com and when i profiled their website i found out that for chatting they send a async request and the page waits until the s...

Dealing with a high volume of data from client to server over HTTP

Hi all, For a personal project ive created an asynchronous TCP socket server that has two types of clients, listeners and senders. Sending clients are iphones and write data about 5 times per second, which is then relayed to listening clients. This has worked fine so far, being fast and efficient, but for scalability and stability im th...

using BOSH/similar technique for existing application/system

We've an existing system which connects to the the back end via http (apache/ssl) and polls the server for new messages, needless to say we have scalability issues. I'm researching on removing this polling and have come across BOSH/XMPP but I'm not sure how we should take the BOSH technique (using long lived http connection). I've seen...

Serializing persistent/functional data structures

Persistent data structures depend on the sharing of structure for efficiency. For an example, see here. How can I preserve the structure sharing when I serialize the data structures and write them to a file or database? If I just naively traverse the datastructures, I'll store the correct values, but I'll lose the structure sharing....

How to clear persistent variables while keeping breakpoints in MATLAB?

Is there a way to clear all persistent variables in MATLAB functions, while keeping the breakpoints in the corresponding function files? clear all; and clear functions; both kill the breakpoints. ...

Help with Perl persistent data storage using Data::Dumper

I have been trying to figure this out for way to long tonight. I have googled it to death and none of the examples or my hacks of the examples are getting it done. It seems like this should be pretty easy but I just cannot get it. Here is the code: #!/usr/bin/perl -w use strict; use Data::Dumper; my $complex_variable = {}; my $MEMORY =...

Rails test db doesn't persist record changes

I've been trying to solve a problem for a few weeks now. I am running rspec tests for my Rails app, and they are working fine except for one error that I can't seem get my head around. I am using MySQL with the InnoDB engine. I have set config.use_transactional_fixtures = true in spec_helper.rb I load my test fixtures manually with th...

ASP.net Create Self re-caching objects?

How can i make a cached object re-cache it self with updated info when the cache has expired? I'm trying to prevent the next user who request the cache to have to deal with getting the data setting the cache then using it is there any background method/event i can tie the object to so that when it expires it just calls the method it self...

ASP.NET MVC : AJAX ActionLink - Persist Data

Hi guys, I'm really new at this and I was searching the web for an answer to my question and I couldn't find it, so here I am posting my question :) I'm trying to create a new record in my table Facility. For my goreign keys I'm displaying the choices in tables instead of a dropdowns. When the user clicks on the select link which is an...

Session variables return completely after unsetting.

I have a script that should log the user out of the site. It unsets all $_SESSION and $_COOKIE variables related to the login data of the user. But somehow, it seems impossible to log out. I checked the $_SESSION array at the end of the logout script, and at the beginning of each page. At the end of the logout script it says 'array()', b...

HTML text input field with currency symbol

Hello, I would like to have a text input field containing the "$" sign in the very beginning, and no matter what editing occurs to the field, for the sign to be persistent. I would be good if only numbers were accepted for input but that's just a fancy addition. Thank you very much in advance! ...

What are the best ways to store Graphs in persistent storage

I am wondering what the best ways to store graphs in persistent storage are, for later analysis, search, clustering, etc. I see neo4j being an option, I am curious if there are also other graph databases available. Does anyone have any insights into how larger social networks store their graph based data (or other sites that require the...