简体   繁体   中英

Java AMF serialization

I'm migrating from Drupal to Java.

I need to create a servlet to serve existing Flash player with server data.

Until now this was done with AMFPHP module.

I'm looking for a way to serialize a simple class.

OpenAMF seems like a good choice but I can't find any documentation or an example. Any suggestions?

Thanks.

Take a look at BlazeDS

Highly configurable, good documentation ( open-sourced by Adobe ), servlet-based ( the BlazeDS serializer / deserializer is essentially a MessageBrokerServlet ) and it comes with the advantages of AMF -- faster, allows long-polling, push technologies etc.

Fairly easy to set up and begin using as well.

In theory, BlazeDS is the place to start as it is the official Adobe solution and it's open source. There's also GraniteDS , which I think has better documentation and this is where I'd start if I was doing it all over again.

If you go with BlazeDS, then I recommend the book Enterprise Development with Flex as the only decent source of information when you need to customize BlazeDS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM