Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/DesignDocs/384399"

m (Project overview)
(Project overview)
Line 21: Line 21:
 
== Project overview ==
 
== Project overview ==
  
* org.eclipse.persistence.asm_3.3.1.v201206041142.jar 271 KB
+
=== Problem ===
* org.eclipse.persistence.core_2.4.0.v20120608-r11652.jar 4711 KB
+
* org.eclipse.persistence.moxy_2.4.0.v20120608-r11652.jar 455 KB
+
* org.eclipse.persistence.antlr_3.2.0.v201206041011.jar 190 KB
+
  
 +
The install footprint is currently preventing MOXy from being bundled with other software and used on mobile platforms. 
  
The JPA and MOXy components already share a common core.  This core currently contains a number of ORM specific items which currently adds bloat to MOXy's install and memory footprint.  This enhancement is to minimize this overhead.
+
'''XML Binding Install Footprint (EclipseLink 2.4)'''
  
'''Benefits:'''
+
{|{{BMTableStyle}}
* Smaller install footprint makes it easier for other libraries to include MOXy in there install.
+
|-{{BMTHStyle}}
* Smaller install footprint makes it easier for MOXy to be used on mobile platforms.
+
! Bundle
* Smaller memory footprint enables more use of MOXy.
+
! Size
 +
|-
 +
| org.eclipse.persistence.moxy_2.4.0.v20120608-r11652.jar
 +
| 455 KB
 +
|-
 +
| org.eclipse.persistence.asm_3.3.1.v201206041142.jar
 +
| 271 KB
 +
|-
 +
| org.eclipse.persistence.core_2.4.0.v20120608-r11652.jar
 +
| 4711 KB
 +
|-
 +
|
 +
| 5437 KB
 +
|}
  
'''Goals:'''
+
'''JSON Binding Install Footprint (EclipseLink 2.4)'''
* Reduce the install footprint
+
 
* Reduce the memory footprint
+
{|{{BMTableStyle}}
 +
|-{{BMTHStyle}}
 +
! Bundle
 +
! Size
 +
|-
 +
| org.eclipse.persistence.moxy_2.4.0.v20120608-r11652.jar
 +
| 455 KB
 +
|-
 +
| org.eclipse.persistence.asm_3.3.1.v201206041142.jar
 +
| 271 KB
 +
|-
 +
| org.eclipse.persistence.core_2.4.0.v20120608-r11652.jar
 +
| 4711 KB
 +
|-
 +
| org.eclipse.persistence.antlr_3.2.0.v201206041011.jar
 +
| 190 KB
 +
|-
 +
|
 +
| 5627 KB
 +
|}
 +
 
 +
=== Goals ===
 +
* Reduce the install footprint to 1 MB (from 5.4 MB)
 
* Be compatible with [http://openjdk.java.net/projects/jigsaw/ Project Jigsaw]
 
* Be compatible with [http://openjdk.java.net/projects/jigsaw/ Project Jigsaw]
  

Revision as of 15:06, 5 July 2012

Design Specification: MOXy Footprint Reduction

ER 384399

Document History

Date Author Version Description & Notes
2012/07/05 Blaise Doughan Work In Progress

Project overview

Problem

The install footprint is currently preventing MOXy from being bundled with other software and used on mobile platforms.

XML Binding Install Footprint (EclipseLink 2.4)

Bundle Size
org.eclipse.persistence.moxy_2.4.0.v20120608-r11652.jar 455 KB
org.eclipse.persistence.asm_3.3.1.v201206041142.jar 271 KB
org.eclipse.persistence.core_2.4.0.v20120608-r11652.jar 4711 KB
5437 KB

JSON Binding Install Footprint (EclipseLink 2.4)

Bundle Size
org.eclipse.persistence.moxy_2.4.0.v20120608-r11652.jar 455 KB
org.eclipse.persistence.asm_3.3.1.v201206041142.jar 271 KB
org.eclipse.persistence.core_2.4.0.v20120608-r11652.jar 4711 KB
org.eclipse.persistence.antlr_3.2.0.v201206041011.jar 190 KB
5627 KB

Goals

  • Reduce the install footprint to 1 MB (from 5.4 MB)
  • Be compatible with Project Jigsaw

Concepts

Present any concepts relevant to the feature.

Requirements

The following sections will expand the goals of this project into more concrete requirements.

Design Constraints

All bundles must remain binary compatible except the OXM aspects of org.eclipse.persistence.core.

Design / Functionality

Bundle Changes

New Bundle - org.eclipse.persistence.micro

This bundle will include the all the common classes to both MOXy and JPA.

Modify Bundles - org.eclipse.persistence.moxy & org.eclipse.persistence.core

The OXM classes from core will be moved to MOXy.

Testing

API

GUI

N/A

Config files

N/A

Documentation

Open Issues

This section lists the open issues that are still pending that must be decided prior to fully implementing this project's requirements.

Issue # Owner Description / Notes

Decisions

This section lists decisions made. These are intended to document the resolution of open issues or constraints added to the project that are important.

Issue # Description / Notes Decision

Future Considerations

During the research for this project the following items were identified as out of scope but are captured here as potential future enhancements. If agreed upon during the review process these should be logged in the bug system.

Back to the top