summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/build-your-own-tuscany-sca-java-distribution.html
blob: 0fa06355ba1a393eb6d2630833486a6af561add5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
<!--

    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE- 2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
    <HEAD>
		<!-- generateKeywords macro -->
	    <META name="description" content="Apache Tuscany">
        <META name="keywords" content="apache, apache tuscany, tuscany, service, services, fabric, soa, service oriented architecture,  sca, service component architecture, das, sdo, csa, ruby, opensource">
		<!-- generateKeywords macro end -->
		
        <LINK type="text/css" rel="stylesheet" href="http://tuscany.apache.org/stylesheets/default.css">
        <LINK rel="SHORTCUT ICON" href="https://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">   
        <TITLE>Apache Tuscany : Build Your Own Tuscany SCA JAVA Distribution</TITLE>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
    
    <BODY onload="init()">
        <!-- topNav macro -->
		<TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg">
			<TR>
				<TD valing="top" align="left">
					<A href="https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg" height="91" width="25" border="0"></A>
				</TD>
				<TD>
					<A href="http://tuscany.apache.org/"><IMG src="http://tuscany.apache.org/images/TuscanyLogo.jpg" border="0"></A>
				</TD>
				
				<TD width="100%">
					&nbsp;
				</TD>

				<!-- Adds the edit page link to the top banner-->
				<TD valign="bottom">
					<DIV style="padding: 2px 10px; margin: 0px;">
						<A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=99358">
						<IMG src="http://tuscany.apache.org/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
					</DIV>
				</TD>

			</TR>
		</TABLE>
        <!-- topNav macro end -->

		<!-- breadCrumbs macro -->
		<TABLE border="0" cellpadding="2" cellspacing="0" width="100%">
			<TR class="topBar">
				<TD align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
					&nbsp;<A href="home.html" title="Apache Tuscany">Apache Tuscany</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="sca-overview.html" title="SCA Overview">SCA Overview</A>&nbsp;&gt;&nbsp;<A href="sca-java.html" title="SCA Java">SCA Java</A>&nbsp;&gt;&nbsp;<A href="java-sca-documentation-menu.html" title="Java SCA Documentation Menu">Java SCA Documentation Menu</A>&nbsp;&gt;&nbsp;<A href="" title="Build Your Own Tuscany SCA JAVA Distribution">Build Your Own Tuscany SCA JAVA Distribution</A>
				</TD>
				
				<TD align="right" valign="middle" class="topBarDiv" align="left" nowrap="true">
				<A href="http://mail-archives.apache.org/mod_mbox/tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>&nbsp;&nbsp;
				</TD>
			</TR>
		</TABLE>
		<!-- breadCrumbs macro end -->


        <TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
            <TR>
                <TD align="left" valign="top">

					<!-- pageContent macro -->
					<DIV id="PageContent">
												
						<DIV class="pagecontent">
							<DIV class="wiki-content">
								<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR><TD class="confluenceTd" valign="top" width="15%"><P></P>
<DIV class="panel" style="background-color: #ECF4D1;border-color: #C3CDA1;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #C3CDA1;background-color: #C3CDA1;"><B>General</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
<P><A href="home.html" title="Home">Home</A><BR>
<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License </A><BR>
<A href="sca-java-get-involved.html" title="SCA Java Get Involved">Get Involved</A><BR>
<A href="sca-java-found-a-bug.html" title="SCA Java Found A Bug">Found a Bug?</A></P>
</DIV></DIV>

<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>SCA Java</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
<P><A href="sca-java.html" title="SCA Java">SCA Java Home</A><BR>
<A href="tuscany-dashboard.html" title="Tuscany Dashboard">SCA Dashboard</A><BR>
<A href="java-sca-tools.html" title="Java SCA Tools">Tools </A><BR>
<A href="tuscany-sca-java-faq.html" title="Tuscany SCA Java - FAQ">FAQ</A></P>
</DIV></DIV>

<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>SCA Java 1.x</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
<P><A href="sca-java-releases.html" title="SCA Java Releases">Downloads</A><BR>
<A href="java-sca-documentation-menu.html" title="Java SCA Documentation Menu">Documentation</A><BR>
<A href="https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/" class="external-link" rel="nofollow">1.x Source Code</A><BR>
<A href="http://tinyurl.com/8rlxd3" class="external-link" rel="nofollow">Roadmap</A></P>
</DIV></DIV>

<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>SCA Java 2.x</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
<P><A href="sca-java-2x-releases.html" title="SCA Java 2.x Releases">Downloads</A><BR>
<A href="http://tuscany.apache.org/documentation-2x/" class="external-link" rel="nofollow">Documentation</A><BR>
<A href="https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/" class="external-link" rel="nofollow">2.x Source Code</A><BR>
<A href="http://tinyurl.com/8rlxd3" class="external-link" rel="nofollow">Roadmap</A></P>
</DIV></DIV>
</TD><TD class="confluenceTd" valign="top" width="85%">

<H1><A name="BuildYourOwnTuscanySCAJAVADistribution-Whatthisisabout"></A>What this is about</H1>

<P>As of release 1.x Tuscany SCA is distributed via one binary distribution that includes everything. Based on user feedback, choice of a smaller distribution packages is desireable. Tuscany community is in the process of addressing this requirement in 2.x. </P>

<P>Given that this work is in progress, Tuscany users have asked for a write-up that highlights module dependencies to enable them to build their own distribution which may have a lower or higher granularity than the pre-packaged binary distributions. Purpose of this page is to help users understand how to build their own tuscany SCA light distribution based on module dependency knowledge that is shared here.</P>

<P>Therefore:<BR>
<B>This page is not about</B> building Tuscany binary distributions to distribute<BR>
<B>This page is about</B> understanding dependencies so that users can build their own distribution</P>

<H1><A name="BuildYourOwnTuscanySCAJAVADistribution-Howtobuildyourowndistribution"></A>How to build your own distribution</H1>

<P>Let's first understand the different categories of module types in Tuscany. This understanding will help us determine how to put the modules together to have a runnable and useful system.</P>

<H2><A name="BuildYourOwnTuscanySCAJAVADistribution-TuscanyModulesCategorized"></A>Tuscany Modules Categorized</H2>

<P><B>SCA programming Model: Assembly, Deployment, Management</B><BR>
SCA provides a programming model for Construction, Assembly, Deployment and Management of network of services. Modules under these catetories support the SCA programming model.</P>

<P><B>Tuscany Container</B><BR>
Modules in this category are specific to running SCA in a Tuscany environment.<BR>
Tuscany container also provides plug points for different host types, bindings, implementations, policies as well as deployment and management (contributions and domain handling).</P>

<P><B>Policy</B><BR>
Module in this category include support for enabling policies as well as policy types.</P>

<P><B>Binding</B><BR>
Modules in this category include various bindings that support different protocols. Typically Bindings are used with SCA programming model, Tuscany container and some component implementation types.</P>

<P><B>Implementation</B><BR>
Modules in this category include support for different component types. Basic SCA environment is needed to use any of these modules.</P>

<P><B>Host Environment</B><BR>
Modules in this category include support for different host environments, such as Tomcat, Jetty, etc.</P>

<H3><A name="BuildYourOwnTuscanySCAJAVADistribution-ModuleCategoryDependency"></A>Module Category Dependency</H3>

<P>This section explains the dependencies amongst various categories. This information can be used to define the scope of modules needed to perform different tasks using Tuscany.</P>
<DIV class="table-wrap">
<TABLE class="confluenceTable"><TBODY>
<TR>
<TD class="confluenceTd"> Category </TD>
<TD class="confluenceTd"> Dependency </TD>
</TR>
<TR>
<TD class="confluenceTd"> SCA Programming Model </TD>
<TD class="confluenceTd"> None. It runs in any container </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> SCA Programming Model. Note that Tuscany Container has plug points for various host environments, but is not dependent on any. </TD>
</TR>
<TR>
<TD class="confluenceTd"> policy </TD>
<TD class="confluenceTd"> Tuscany Container and SCA PM </TD>
</TR>
<TR>
<TD class="confluenceTd"> Binding </TD>
<TD class="confluenceTd"> Tuscany Container and some host environment depending on the protocol type </TD>
</TR>
<TR>
<TD class="confluenceTd"> Implementation </TD>
<TD class="confluenceTd"> Tuscany Container </TD>
</TR>
</TBODY></TABLE>
</DIV>


<H3><A name="BuildYourOwnTuscanySCAJAVADistribution-TuscanyModulesBreakDownbyCategory"></A>Tuscany Modules Break Down by Category</H3>

<P><FONT color="#009900"><B>Note</B></FONT> All modules that represent models are highlighted in green.</P>
<DIV class="table-wrap">
<TABLE class="confluenceTable"><TBODY>
<TR>
<TD class="confluenceTd"> <FONT color="#330099"><B>Category</B></FONT> </TD>
<TD class="confluenceTd"> <B>Description</B> </TD>
<TD class="confluenceTd"> <FONT color="#330099"><B>SCA constructs</B></FONT> </TD>
<TD class="confluenceTd"> <FONT color="#330099"><B>Tuscany Modules</B></FONT> </TD>
<TD class="confluenceTd"> <FONT color="#330099"><B>Detail</B></FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> SCA PM </TD>
<TD class="confluenceTd"> SCA assembly </TD>
<TD class="confluenceTd"> composite <BR class="atl-forced-newline">
componentType </TD>
<TD class="confluenceTd"> <FONT color="#009900">assembly</FONT> <BR class="atl-forced-newline">
assembly-xml <BR class="atl-forced-newline">
assembly-xsd </TD>
<TD class="confluenceTd"> Model interfaces for the SCA assembly <BR class="atl-forced-newline">
XML Reader, Writer and Resolver <BR class="atl-forced-newline">
XSDs for the assemlby model </TD>
</TR>
<TR>
<TD class="confluenceTd"> SCA PM </TD>
<TD class="confluenceTd"> Java Interface </TD>
<TD class="confluenceTd"> interface.java </TD>
<TD class="confluenceTd"> <FONT color="#009900">interface</FONT> <BR class="atl-forced-newline">
interface-java <BR class="atl-forced-newline">
interface-java-xml </TD>
<TD class="confluenceTd"> Model for interface/operation <BR class="atl-forced-newline">
across Java and WS <BR class="atl-forced-newline">
Model for java interface <BR class="atl-forced-newline">
Reader/Writer for interface.java <BR class="atl-forced-newline"> </TD>
</TR>
<TR>
<TD class="confluenceTd"> SCA PM </TD>
<TD class="confluenceTd"> WSDL Interface </TD>
<TD class="confluenceTd"> interface.wsdl </TD>
<TD class="confluenceTd"> interface <BR class="atl-forced-newline">
interface-java-jaxws <BR class="atl-forced-newline">
interface-wsdl <BR class="atl-forced-newline">
interface-wsdl-xml <BR class="atl-forced-newline">
<BR class="atl-forced-newline">
xsd <BR class="atl-forced-newline">
xsd-xml </TD>
<TD class="confluenceTd"> Interface processor for JAXWS annotation <BR class="atl-forced-newline">
WSDL port type as the interface definition <BR class="atl-forced-newline">
Reader/Writer for interface.wsdl <BR class="atl-forced-newline">
<BR class="atl-forced-newline">
Model for XSD artifacts <BR class="atl-forced-newline">
Reader/Writer to load/save XSDs </TD>
</TR>
<TR>
<TD class="confluenceTd"> Policy </TD>
<TD class="confluenceTd"> Policy </TD>
<TD class="confluenceTd"> intent <BR class="atl-forced-newline">
policySet </TD>
<TD class="confluenceTd"> <FONT color="#009900">policy</FONT> <BR class="atl-forced-newline">
policy-xml <BR class="atl-forced-newline">
policy-xml-ws <BR class="atl-forced-newline">
<BR class="atl-forced-newline">
policy-logging <BR class="atl-forced-newline">
policy-security <BR class="atl-forced-newline">
policy-security-jsr250 <BR class="atl-forced-newline">
policy-security-ws <BR class="atl-forced-newline">
policy-transaction <BR class="atl-forced-newline">
<BR class="atl-forced-newline"> <FONT color="#009900">definitions</FONT> <BR class="atl-forced-newline">
definitions-xml </TD>
<TD class="confluenceTd"> Model for policy <BR class="atl-forced-newline">
Read/Writer for policy&nbsp;XML <BR class="atl-forced-newline">
Reader/Writer for WS policy&nbsp;XML </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> Contribution Processing </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> <FONT color="#009900">contribution</FONT> <BR class="atl-forced-newline">
contribution-xml <BR class="atl-forced-newline">
contribution-impl <BR class="atl-forced-newline">
contribution-java <BR class="atl-forced-newline">
contribution-namespace <BR class="atl-forced-newline">
contribution-osgi <BR class="atl-forced-newline">
contribution-resource </TD>
<TD class="confluenceTd"> Process SCA contribution (archives) and build the model for containing artifacts </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> Extensibility </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> <FONT color="#009900">extensibility</FONT> <BR class="atl-forced-newline">
extensibility-equinox </TD>
<TD class="confluenceTd"> Provide the extensibility to plugin tuscany extensions such as utilities, XML processors, <BR class="atl-forced-newline">
binding providers, <BR class="atl-forced-newline">
implementation providers and databindings </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> Runtime core and SPI for extensions </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> <FONT color="#009900">core</FONT> <BR class="atl-forced-newline">
core-spi <BR class="atl-forced-newline">
core-databinding <BR class="atl-forced-newline"> </TD>
<TD class="confluenceTd"> Core activates SCA composite and build up the invocation chain between <BR class="atl-forced-newline">
SCA services and references over the bindings </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> Databinding </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> <FONT color="#009900">databinding</FONT> <BR class="atl-forced-newline">
<BR class="atl-forced-newline">
databinding-axiom <BR class="atl-forced-newline">
databinding-fastinfoset <BR class="atl-forced-newline">
databinding-jaxb <BR class="atl-forced-newline">
databinding-jaxb-axiom <BR class="atl-forced-newline">
databinding-json <BR class="atl-forced-newline">
databinding-saxon <BR class="atl-forced-newline">
databinding-sdo <BR class="atl-forced-newline">
databinding-sdo-axiom <BR class="atl-forced-newline">
databinding-xmlbeans </TD>
<TD class="confluenceTd"> A framework to deal with data representation and transformation </TD>
</TR>
<TR>
<TD class="confluenceTd"> SCA PM </TD>
<TD class="confluenceTd"> SCA API </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> sca-api <BR class="atl-forced-newline"> </TD>
<TD class="confluenceTd"> SCA Java common APIs and Annotations </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> SCA Node API, Impl and Launchers </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> node-api <BR class="atl-forced-newline">
node-dynamic <BR class="atl-forced-newline">
node-impl <BR class="atl-forced-newline">
node-launcher <BR class="atl-forced-newline">
node-launcher-equinox <BR class="atl-forced-newline">
thirdparty-library <BR class="atl-forced-newline">
<BR class="atl-forced-newline">
node-launcher-webapp <BR class="atl-forced-newline">
node-manager <BR class="atl-forced-newline">
implementation-node <BR class="atl-forced-newline">
implementation-node-runtime <BR class="atl-forced-newline">
host-embedded </TD>
<TD class="confluenceTd"> Api used to Start/Stop SCA node which bootstraps SCA runtime to run the application. </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> SCA Domain Manager </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> domain-manager <BR class="atl-forced-newline">
workspace <BR class="atl-forced-newline">
workspace-impl <BR class="atl-forced-newline">
workspace-xml </TD>
<TD class="confluenceTd"> Define and manage domain </TD>
</TR>
<TR>
<TD class="confluenceTd"> Tuscany Container </TD>
<TD class="confluenceTd"> Serviceability: Monitoring, Logging and Tracing </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> <FONT color="#009900">monitor</FONT> <BR class="atl-forced-newline">
monitor-logging <BR class="atl-forced-newline">
tracing-aspectj <BR class="atl-forced-newline"> </TD>
<TD class="confluenceTd">&nbsp;</TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Host Types</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Host environments</FONT> </TD>
<TD class="confluenceTd">&nbsp;</TD>
<TD class="confluenceTd"> <FONT color="#000000">host-http</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-jetty</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-tomcat</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-webapp</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-webapp-junit</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">HTTP protocol support for all http-based bindings, more can be added through host SPIs.</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Feed bindings:</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">Atom</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">RSS</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.atom</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding.rss</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-atom</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-atom-abdera</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-rss</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-rss-rome</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Feed support, including atom and rss protocols.&nbsp;Needs&nbsp;http&nbsp;type host environment.</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">JSONRPC binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.jsonrpc</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-jsonrpc</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-jsonrpc-runtime</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">JSONRPC for AJAX. Needs&nbsp;http&nbsp;type host environment.&nbsp;</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">RMI binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.rmi</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-rmi</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-rmi</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">RMI</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">JMS binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.jms</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-jms</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-jms-runtime</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">JMS</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">EJB binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.ejb</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-ejb</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-ejb-runtime</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-ejb</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-openejb</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">EJB</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">CORBA binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.corba</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-corba</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-corba-runtime</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-corba</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-corba-jee</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-corba-jse</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">host-corba-jse-tns</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">CORBA</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">GData binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.gdata</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-gdata</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-gdata-runtime</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-gdata-gsoc</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-gdata-runtime-gsoc</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">GData</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">HTTP binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.http</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-http</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-http-runtime</FONT> <BR class="atl-forced-newline"> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> HTTP </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Web Service binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> binding.ws </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-ws</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-ws-axis2</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-ws-axis2-policy</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-ws-wsdlgen</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-ws-xml</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> WebServices </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">SCA binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding.sca</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">binding-sca</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-sca-xml</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-sca-axis2</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-sca-corba</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">binding-sca-jms</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">endpoint</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> One of the binding-sca-(types) is needed. The default is corba? </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Binding</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Java implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.java</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-java</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-java-xml</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-java-runtime</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> Java component types </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">BPEL implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.bpel</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-bpel</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-bpel-jbpm</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-bpel-ode</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> Use BPEL components in a composite application. Includes support for Apache ODE. </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">EJB implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.ejb</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-ejb</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> EJBs as components in a composition </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Scripting language based implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.script</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-script</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> enables using Groovy, JavaScript, Ruby, Python as components. </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Spring implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.spring</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-spring</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> enables inclusion of Spring Application Context in a composite </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> Widgets </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;implementation.widget</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-widget</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-widget-runtime</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;Widget support for web20</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">OSGi implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.osgi</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-osgi</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT>enables incusion of &nbsp;OSGI bundles&nbsp; in a composite </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">HTTP Resource implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.resource</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-resource</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-resource-runtime</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> HTTP resource type component </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">XQuery implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation.xquery</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">implementation-xquery</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;Xquery component</FONT> </TD>
</TR>
<TR>
<TD class="confluenceTd"> <FONT color="#000000">Implementation</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">Data Access Services</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">&nbsp;</FONT> </TD>
<TD class="confluenceTd"> <FONT color="#000000">data-api</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">data-engine-helper</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-das</FONT> <BR class="atl-forced-newline"> <FONT color="#000000">implementation-data-xml</FONT> </TD>
<TD class="confluenceTd">&nbsp;</TD>
</TR>
</TBODY></TABLE>
</DIV>


<H4><A name="BuildYourOwnTuscanySCAJAVADistribution-RelationshipofModulesandOSGIBundles"></A>Relationship of Modules and OSGI Bundles</H4>
<P>There are various ways and views for creating OSGI bundles. This can be discussed under &quot;OSGI bundles&quot; topic which can define how modules in a bundle are versioned together, start together and share class loaders. For the sake of understanding structure of modules, we can say that each module is an <BR>
OSGI bundle. These can be pulled together to create coarser grain bundles if needed.  </P>

<H2><A name="BuildYourOwnTuscanySCAJAVADistribution-UsecaseExamplesforTuscanyusage"></A>Use case Examples for Tuscany usage</H2>


<H3><A name="BuildYourOwnTuscanySCAJAVADistribution-UseTuscanyasaruntimeforSCAdevelopment"></A>Use Tuscany as a runtime for SCA development</H3>

<P><B>Example:</B> Develop SCA applications in Tuscany based on POJOs<BR>
<EM>Basic Category of Modules Needed:</EM> SCA PM, Tuscany Container, implementation.java, SCA default binding</P>

<H3><A name="BuildYourOwnTuscanySCAJAVADistribution-Adopttheprogrammingmodeltocreateacomponentmodelforyourownruntime"></A>Adopt the programming model to create a component model for your own runtime</H3>

<P><B>Example:</B> Use SCA for configuration of and ESB engine<BR>
<EM>Basic Category of Modules Needed:</EM> SCA PM</P>

<H3><A name="BuildYourOwnTuscanySCAJAVADistribution-EmbedTuscanywithinanapplicationserver"></A>Embed Tuscany within an application server</H3>

<P><B>Example:</B> Embed Tuscany with an application server such as Geronimo<BR>
<EM>Basic Category of Modules Needed:</EM> SCA PM, Pick the features that are needed to run on the given platform, binding.ejb, implemenation.java, etc. In some cases you need to use host SPIs to provide the platform specific behavior. For examples check out host_&#42; modules.</P>

<H3><A name="BuildYourOwnTuscanySCAJAVADistribution-CreatetoolsforSCA"></A>Create tools for SCA</H3>

<P><B>Example:</B> Write a development tool for SCA<BR>
Basic Category of Modules Needed:&#95; SCA PM</P>

<H3><A name="BuildYourOwnTuscanySCAJAVADistribution-Otherscenarios"></A>Other scenarios</H3>

<P>Please help add other interesting scenarios</P>

<H2><A name="BuildYourOwnTuscanySCAJAVADistribution-Howtocreateyourowndistribution"></A>How to create your own distribution</H2>

<P>TBD<BR>
Link to the page describing how to create a POM.xml and use maven to generate distribution.<BR>
Talk about how maven figures out third party dependencies. </P></TD></TR></TBODY></TABLE>
							</DIV>
						</DIV>
					</DIV>	
		            <!-- pageContent macro end -->
					
                </TD>
            </TR>
        </TABLE>

		<!-- footer macro -->
				<SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
		</SCRIPT>
		<SCRIPT type="text/javascript">
		   _uacct = "UA-1174707-5";
		   urchinTracker();
		</SCRIPT>
		
				<A href="http://www.statcounter.com/" target="_blank"><IMG src="http://c26.statcounter.com/counter.php?sc_project=2619156&java=0&security=94bd7e7d&invisible=0" alt="website stats" border="0"></A>    

		<DIV class="footer">
			Copyright � 2003-2012, The Apache Software Foundation&nbsp;&nbsp;</BR>
                        Apache Tuscany and the Apache Tuscany project logo are trademarks of The Apache Software Foundation.
		</DIV>
		<!-- footer macro end -->

    </BODY>
</HTML>