I would like to make an RPC with a message format directly defined from Java interfaces, then I want to use some tools to generate ASN.1 files.
Do you know what tools I can use? (if possible, something that does not force me to use any type from the ASN library in the interfaces that describe the format.
Do you know if there are libraries for RPC with ASN.1 in the JavaSE program?
I assume that annotating classes and writing an annotation engine that creates the ASN may be one way, but I can't figure out how much work it will take.
,
- spring , . , ASNExporter, netty, mina, pure NIO, OIO, bouncycastle, spring, AOP.
, Java Web Services Developer Pack 2.0, Fast Infoset 1.0.1 FCS, ASN.1 . Fast Infosets - , SUN Microsystems - Glassfish, JWSDP.
, Fast Infoset SAX StAX. XML Fast Infoset , SAX StAX. , , Java-, ASN.1 . Fast Infoset XML.
, POJO JAXB ASN.1 JAXB, , XStream .
:
Apache Harmony.
The website says:
The ASN.1 framework provides a common, simple, and efficient approach for working with the basic ASN.1 types, notation, and encoding rules. This structure can be described as a layer between a Java * object and its ASN.1 encoded form, as shown in Figure 1.