Java Pojo Classes & # 8594; ASN.1 for RPC

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?

+3
source share
4 answers

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.

+1
source

,

  • BinaryNotes
  • Bouncy Castle
  • PowerASN

- spring , . , ASNExporter, netty, mina, pure NIO, OIO, bouncycastle, spring, AOP.

+1

, 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 .

:

0

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.

Figure 1

0
source

All Articles