
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1640879 13f79535-47bb-0310-9956-ffa450edef68
118 lines
No EOL
5.6 KiB
HTML
118 lines
No EOL
5.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<LINK type="text/css" rel="stylesheet" href="http://incubator.apache.org/tuscany/stylesheets/default.css">
|
|
<LINK rel="SHORTCUT ICON" href="http://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">
|
|
<TITLE>SCA Jumpstart : Apache Tuscany</TITLE>
|
|
<META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
|
|
|
|
<BODY onload="init()">
|
|
|
|
<TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://incubator.apache.org/tuscany/images/TuscanyLogoNEW_Text_120px_bg.jpg">
|
|
<TR>
|
|
<TD valing="top" align="left">
|
|
<A href="http://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://incubator.apache.org/tuscany/images/TuscanyLogoNEW_Text_120px_bg.jpg" height="91" width="25" border="0"></A>
|
|
</TD>
|
|
<TD>
|
|
<A href="http://incubator.apache.org/tuscany/"><IMG src="http://incubator.apache.org/tuscany/images/TuscanyLogo.jpg" border="0"></A>
|
|
</TD>
|
|
|
|
<TD width="100%">
|
|
|
|
</TD>
|
|
<TD align="right">
|
|
<IMG src="http://incubator.apache.org/tuscany/images/apache-incubator-logo.png" border="0">
|
|
</TD>
|
|
|
|
<!-- Adds the edit page link to the top banner-->
|
|
<TD valign="bottom">
|
|
<DIV style="padding: 2px 10px; margin: 0px;">
|
|
<A href="http://cwiki.apache.org/confluence/pages/editpage.action?pageId=47835">
|
|
<IMG src="http://incubator.apache.org/tuscany/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
|
|
</DIV>
|
|
</TD>
|
|
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<TABLE border="0" cellpadding="2" cellspacing="0" width="100%">
|
|
<TR class="topBar">
|
|
<TD align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
|
|
<A href="home.html" title="Apache Tuscany">Apache Tuscany</A> > <A href="home.html" title="Home">Home</A> > <A href="sca-overview.html" title="SCA Overview">SCA Overview</A> > <A href="sca-java.html" title="SCA Java">SCA Java</A> > <A href="java-sca-documentation-menu.html" title="Java SCA Documentation Menu">Java SCA Documentation Menu</A> > <A href="" title="SCA Jumpstart">SCA Jumpstart</A>
|
|
</TD>
|
|
|
|
<TD align="left" valign="middle" class="topBarDiv" nowrap="true">
|
|
<A href="http://mail-archives.apache.org/mod_mbox/ws-tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
|
|
<TR>
|
|
<TD align="left" valign="top">
|
|
<DIV id="PageContent">
|
|
|
|
<DIV class="pagecontent">
|
|
<DIV class="wiki-content">
|
|
<H3><A name="SCAJumpstart-JumpStartGuide"></A>Jump-Start Guide</H3>
|
|
|
|
<P>Note that the 2.0 alpha runtime samples distributions assume you have JDK 5 and <SPAN class="nobr"><A href="http://maven.apache.org/" title="Visit page outside Confluence" rel="nofollow">Maven 2.04 <SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> installed.</P>
|
|
|
|
<P>1. Download and unzip the 2.0 alpha runtime distribution <BR>
|
|
2. Download and unzip the 2.0 alpha samples<BR>
|
|
3. Build the common sample module from the samples root directory by doing:</P>
|
|
|
|
<DIV class="code"><DIV class="codeContent">
|
|
<PRE class="code-java">mvn install</PRE>
|
|
</DIV></DIV>
|
|
|
|
<P>4. Go to <TT>standalone</TT> under the samples root directory and select the caculator sample<BR>
|
|
5. Build the sample by doing:</P>
|
|
|
|
<DIV class="code"><DIV class="codeContent">
|
|
<PRE class="code-java">mvn install</PRE>
|
|
</DIV></DIV>
|
|
|
|
<P>6. Run the sample using the following command:</P>
|
|
|
|
<DIV class="code"><DIV class="codeContent">
|
|
<PRE class="code-java">java -jar <path to launcher bin directory where you downloaded the standalone runtime> calc.jar add 1 2</PRE>
|
|
</DIV></DIV>
|
|
|
|
<P>7. The loan application sample may also be run by building it executing the following:</P>
|
|
|
|
<DIV class="code"><DIV class="codeContent">
|
|
<PRE class="code-java">java -jar <path to launcher bin directory where you downloaded the standalone runtime> loanapplication.jar</PRE>
|
|
</DIV></DIV>
|
|
|
|
<P>Alternatively the samples can be run from the standalone runtime directory using:</P>
|
|
|
|
<DIV class="code"><DIV class="codeContent">
|
|
<PRE class="code-java">java -jar bin/launcher.jar <path to the loanapplication.jar></PRE>
|
|
</DIV></DIV>
|
|
|
|
|
|
|
|
</DIV>
|
|
</DIV>
|
|
</DIV>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<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-2007, The Apache Software Foundation
|
|
</DIV>
|
|
|
|
</BODY>
|
|
</HTML> |