This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.gridynamics.blog</groupId> | |
| <artifactId>f3-redeploy</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.codehaus.fabric3</groupId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Fabric3 | |
| Copyright (c) 2009-2011 Metaform Systems | |
| Fabric3 is licensed under modified terms of the GNU General | |
| Public License. See the accompanying license file for details. | |
| --> | |
| <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" | |
| xmlns:f3="urn:fabric3.org" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package f3.blog.redeploy; | |
| import org.fabric3.api.annotation.scope.Scopes; | |
| import org.oasisopen.sca.annotation.EagerInit; | |
| import org.oasisopen.sca.annotation.Init; | |
| import org.oasisopen.sca.annotation.Scope; | |
| @EagerInit | |
| @Scope(Scopes.COMPOSITE) | |
| public class HelloServiceImpl implements HelloService { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| C://dev//jb-testing//workspaces//f3-indigo-contrib//f3-redeploy//target//classes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <config> | |
| <web.server> | |
| <http port="8181"/> | |
| </web.server> | |
| <deploy.directories> | |
| <deploy.directory>C://dev//jb-testing//workspaces//f3-indigo-contrib//f3-redeploy//src//main//resources//WEB-INF//redeploy</deploy.directory> | |
| </deploy.directories> | |
| </config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package f3.blog.zk; | |
| import javax.servlet.ServletContext; | |
| import org.zkoss.zk.ui.Component; | |
| import org.zkoss.zk.ui.Sessions; | |
| import org.zkoss.zk.ui.util.GenericForwardComposer; | |
| import org.zkoss.zul.api.Doublebox; | |
| import f3.blog.calculator.AddService; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?> | |
| <?page title="SimpleZKTest" contentType="text/html;charset=UTF-8"?> | |
| <zk> | |
| <window title="SimpleZKTest" id="win" border="normal" apply="f3.blog.zk.SimpleCalculatorController"> | |
| Hurray calculating with ZK on fabric3 ! | |
| <groupbox> | |
| N1 : <doublebox value="@{win$composer.operandOne}"/> | |
| N2 : <doublebox value="@{win$composer.operandTwo}"/> | |
| Result : <doublebox id="resultBox"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <componentType xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" | |
| xmlns:samples="urn:gridynamics.blog:samples"> | |
| <reference name="webCalculatorService"> | |
| <interface.java interface="f3.blog.calculator.CalculatorService"/> | |
| </reference> | |
| </componentType> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" | |
| name="SimpleWebComposite" | |
| targetNamespace="urn:gridynamics.blog:samples"> | |
| <component name="SimpleZK"> | |
| <implementation.web/> | |
| <!-- | |
| !!! This reference is special !!! | |
| - where is the webCalculatorService defined ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package f3.blog.calculator; | |
| public interface CalculatorService { | |
| double add(double n1,double n2); | |
| double substract(double n1,double n2); | |
| } |
NewerOlder