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
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.4.0</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> |
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
<plugin> | |
<groupId>com.github.eirslett</groupId> | |
<artifactId>frontend-maven-plugin</artifactId> | |
<version>0.0.27</version> | |
<executions> | |
<execution> | |
<id>install node and npm</id> | |
<goals> | |
<goal>install-node-and-npm</goal> | |
</goals> |
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 com.cxf.server; | |
import javax.jws.WebParam; | |
import javax.jws.WebService; | |
@WebService | |
public interface HelloWorld { | |
String sayHi(@WebParam(name = "text") String text); | |
} |
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 com.cxf.client; | |
public class Main { | |
public static void main(String[] args) { | |
HelloWorldService service = new HelloWorldService(); | |
String response = service.getHelloWorldPort().sayHi("client"); | |
System.out.println("Service said: " + response); |
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 com.afsinka; | |
public class WelcomeAction { | |
private String name; | |
public String getName() { | |
return name; | |
} |
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
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.List; | |
import javax.annotation.PostConstruct; | |
import javax.faces.bean.ApplicationScoped; | |
import javax.faces.bean.ManagedBean; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script> | |
<title>Title</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
$(document).ready(function() { |
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
<script type="text/javascript"> | |
$(document).ready(function() { | |
$("#searchBoxForOldBrowsers").keyup(function() { | |
searchInListForOldBrowsers(); | |
}); | |
}); | |
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
import { NgModule } from "@angular/core"; | |
import { HttpModule, Http } from "@angular/http"; | |
import { FormsModule, FormBuilder } from "@angular/forms"; | |
import { BrowserModule } from "@angular/platform-browser"; | |
import { App } from "./app"; | |
import { ReCaptchaModule } from 'angular2-recaptcha'; | |
import { TranslateModule, TranslateLoader } from "@ngx-translate/core"; | |
import { TranslateHttpLoader } from "@ngx-translate/http-loader"; | |
export function HttpLoaderFactory(httpClient: Http) { |
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 com; | |
public class Main { | |
public static void main(String[] args) { | |
MyString myString = new MyString("x"); | |
String str = "x"; | |
System.out.println("1: " + myString.getName() + " " + str); | |
foo(myString, str); |
OlderNewer