[Design of JCA on JBoss] - The JBoss JCA container project
by jesper.pedersen
The goal of the JBoss JCA container project is to provide a Plain Old Java Object (POJO) implementation of the Java Connector Architecture (JCA) specification.
The implementation is built on top of the JBoss Microcontainer and implemented in Java 5.
Overview
The implementation should be separated into different modules, so each module can be released separately or in certified bundles.
Current module list
JCA / Core
JCA / JDBC
JCA / JMS
JCA / Mail
JCA / Timer (Quartz)
Requirements
The new implementation will provide the JBoss projects with:
Core implementation based on POJO / microcontainer
JCA 1.5 profile
JCA 1.6 profile
JCA 1.0 profile
Connection manager
Work manager
Deployers
Meta-data handling and repository
SPI implementation
Separate sub-projects
JDBC
JMS
Mail
Timer
Test-suite for each module (self-contained)
Performance-suite for each module (self-contained)
Management for each module
Statistics for each module (f.ex. avg wait-time for JDBC connection)
Integration with the JBoss Application Server
Starting points
The proof-of-concept implementation or first order of business will of course be the JCA 1.5 profile.
Adrian and Vicky has provided a starting point in the jboss-jca project which we should investigate and there are many JIRAs that describes various ideas for each of the modules for this new implementation.
JIRA and SVN information will follow.
The main wiki page is located at http://wiki.jboss.org/wiki/JBossJCA_POJO
Feel free to share ideas, comments or feedback on this project.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159242#4159242
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159242
16 years, 1 month
[Design the new POJO MicroContainer] - Re: Changing the way AbstractVFSDeployment serializes root
by alesj
"scott.stark(a)jboss.org" wrote : That will also change the vfs relative path. Different vfs context should not matter, but being able to access the parent breaks the api usage.
|
What about this?
| private void writeObject(ObjectOutputStream out) throws IOException, URISyntaxException
| {
| URL url = rootUrl;
| if (url == null)
| {
| VFS vfs = getFile().getVFS();
| url = vfs.getRoot().toURL();
| }
| String pathName = path;
| if (pathName == null)
| pathName = getFile().getPathName();
|
| ObjectOutputStream.PutField fields = out.putFields();
| fields.put("rootUrl", url);
| fields.put("path", pathName);
| out.writeFields();
| }
|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
| {
| ObjectInputStream.GetField fields = in.readFields();
| rootUrl = (URL) fields.get("rootUrl", null);
| path = (String) fields.get("path", null);
| }
|
And then having a lazy construction on file.
This way a lot less bytes get serialized. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159166#4159166
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159166
16 years, 1 month