Log in to follow, share, and participate in this community.
Thread Does JBossSerialization improves performance for Entrnaizabl
Does JBossSerialization improves performance for EntrnaizablHi, In our application we are serializing Externalizable objects. In writeExternal(), we basically converting the data into byte[] and writing them into the streams in writeExternal() and readExternal() methods. But ...
Thread Could not instantiate class OnlyOnceErrorHandler
Could not instantiate class OnlyOnceErrorHandlerHi , I am using JBossSerialization 1.0.3 GA. I have trove.jar, log4j.jar and log4j.xml in classpath . While running a standalone program( using eclipse 3.2) I get this error. log4j:ERROR Could not instantiate class...
resolveClass and annotateClassI am currently looking at JBoss Serialization as a way to improve our performance with regards to serialization. However currently we store information about the classloader by overriding the annotateClass method. And...
Cleanup of project, move to maven, svn?I'm looking at supporting pluggable serizliation of the server deployment metadata and want to be able to use jboss serialization as well as a new xml output stream format of jboss serialization. Looking at the jboss-...
JBoss Serialization repository?My apologies if I'm missing the obvious, but I can't seem to find the JBoss Serialization source repository anywhere. The links through the Wiki, with instructions for accessing via FishEye and cvsgrab, don't work (or...
Poor performance with test...trying this... long init = System.currentTimeMillis(); ObjectOutputStream dos = new JBossObjectOutputStream(new FileOutputStream("c:\\test.txt")); dos.writeObject(opportunities); dos.close(); File f = new File("c:\\t...
Thread JBoss 4.0.5GA has broken jboss-serialization.jar
JBoss 4.0.5GA has broken jboss-serialization.jarHave a look at this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94203 Replacing old jboss-serialization.jar file from older jboss version resolves the infinite org.jboss.serial.persister...
Interceptor medasata issueHello, I'm not sure if this is the right forum for my question. If not sorry and please point me to the right one. I get allways a class cast exception if I put some values into the metadate from the invocation obje...
Thread Support for readObject/readResolve replacement?
Support for readObject/readResolve replacement?Do we honor the java.io.Serializable readObject/readResolve contract such that one can control what object is returned? A typical example of using this is the old type safe enum pattern that maps a string/int onto a s...
Simple starter questionSorry for this simple question ... is the Jboss serialization mechanism producing smaller data output or the performance is only in the algorithm for producing this data.??? Is there a way to remove the required dep...
InstantiationException: java.util.HashMap$ValuesI'm returning a rather deep and complex object structure from an ejb3 stateless session bean to another, deployed in two different ears. The initiating bean is annotated with JSR-181 WS annotations. I'm running on 4.0...
Thread What should I create to frequently ask it for smart clones??
What should I create to frequently ask it for smart clones??Which class encapsulates all data needed to recreate smart clone for a particular object? The main idea is to reuse final objects pool and recreate smart clones not from raw bytes. I tried DataContainer, but its Dat...
JRockit 1.4 now is workingI just wanted to have a post with this title, just to not confuse people. JBossSerialization now works with JRockit 1.4. It doesn't work with gcj or harmony yet, what will be just a matter of finding two hooks.
Thread Why JBossSerialization doesn't work on JRockit 1.4
Why JBossSerialization doesn't work on JRockit 1.4In Serialization there are two things that are very basic for serialization: - Use of Ghost Constructors (this is just a name that I gave it) A Serializable class doesn't need to implement a DefaultConstructor. The ...
Mustang Serialization problems.Hello, We have encountered a serialization problem when we moved to JDK 1.6. The following EJB throws an exception (Below). public class TestServiceBean implements TestService { @TransactionAttribute(TransactionAtt...
StackOverflow in my datatypesHi. I need to serialize a graph that is implemented as HashMap. This graph is very complicated, and the java serialization gives StackOverflowError. I tried Jboss Serialization, and it gives TargetInvocationException,...
IOExceptions with MyFaces/Facelets appsHi, I'm getting this error when i use JBossSerialization with MyFaces/Facelets apps: javax.faces.FacesException: java.io.IOException at org.apache.myfaces.shared_impl.util.StateUtils.getAsObject( StateUtils.java:30...
JBoss Serialization is very slow?I'm using JBossObjectOutputStream and use writeObject(...) to a FielOutputStream. The result show sun provided serialization is about 4 times faster than jboss's. Here is my code(very simple code):
FileOutputStream...
1.0.1.GA availableWe have released JBossSerialization 1.0.1.GA. Package is available on sourceforge: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=188754 Or at downloads page at jboss.org: http://labs.j...