[jboss-jira] [JBoss JIRA] (DROOLS-960) Create a kie-core-jaxb module for easier serialization
Marco Rietveld (JIRA)
issues at jboss.org
Wed Oct 21 15:10:00 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Rietveld updated DROOLS-960:
----------------------------------
Attachment: JaxbInheritanceTest.java
ImplObject.java
CoreObject.java
> Create a kie-core-jaxb module for easier serialization
> ------------------------------------------------------
>
> Key: DROOLS-960
> URL: https://issues.jboss.org/browse/DROOLS-960
> Project: Drools
> Issue Type: Bug
> Components: core engine, kie server
> Affects Versions: 6.3.0.Final
> Reporter: Marco Rietveld
> Assignee: Mario Fusco
> Priority: Critical
> Fix For: 7.0.0.Final
>
> Attachments: CoreObject.java, ImplObject.java, JaxbInheritanceTest.java
>
>
> At the moment, the cost of supporting serialization of our command pattern is way too expensive.
> The hacked-together solution that I'm doing is basically taking {{Command}} implementation classes in the core engines, and then
> 1. converting those classes to an xsd schema
> 2. generating new classes from the xsd schema
> However, this means that I'm constantly wrestling with the core command implementations in order to make sure that they serialize correctly and convert nicely to an xsd schema.
> Instead, we should have a {{kie-core-jaxb}} module that contains 2 things:
> 1. The utilties (Java JAXB Adapters) that are used in multiple modules ({{drools-core}}, {{jbpm-human-task-core}}, {{kie-remote-jaxb}})
> 2. The Core command serialization implementations.
> // UNFIINSHED: SHOW inheritance mechanism
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list