This commit is contained in:
Ahmed Tawila 2017-10-19 14:00:45 +02:00
commit 9c84c85137
172 changed files with 3825 additions and 5665 deletions

View File

@ -1,253 +0,0 @@
!ENTRY org.eclipse.core.resources 4 2 2014-10-16 20:42:46.953
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.IllegalStateException: Registry Directory not available: /Users/Elena/tutorials/.metadata/.plugins/org.eclipse.pde.core/.p2/org.eclipse.equinox.p2.engine/profileRegistry.
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:480)
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:338)
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfiles(SimpleProfileRegistry.java:320)
at org.eclipse.pde.internal.core.target.P2TargetUtils.cleanOrphanedTargetDefinitionProfiles(P2TargetUtils.java:168)
at org.eclipse.pde.internal.core.PDECore$1.saving(PDECore.java:274)
at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:383)
at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:192)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:195)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1130)
at org.eclipse.core.internal.resources.Workspace.save(Workspace.java:2376)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$5.run(IDEWorkbenchAdvisor.java:508)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!ENTRY org.eclipse.ui.ide 4 4 2014-10-16 20:42:55.472
!MESSAGE Problems saving workspace
!ENTRY org.eclipse.ui.ide 4 1 2014-10-16 20:42:55.472
!MESSAGE Problems occurred while trying to save the state of the workbench.
!SUBENTRY 1 org.eclipse.core.resources 4 568 2014-10-16 20:42:55.472
!MESSAGE Could not write workspace metadata '/Users/Elena/tutorials/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree'.
!STACK 0
java.io.FileNotFoundException: /Users/Elena/tutorials/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.core.internal.localstore.SafeFileOutputStream.<init>(SafeFileOutputStream.java:51)
at org.eclipse.core.internal.resources.SaveManager.saveTree(SaveManager.java:1352)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1134)
at org.eclipse.core.internal.resources.Workspace.save(Workspace.java:2376)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$5.run(IDEWorkbenchAdvisor.java:508)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SESSION 2014-10-16 20:43:17.092 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.8.0_20
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=es_ES
Framework arguments: -product org.eclipse.epp.package.standard.product -keyring /Users/Elena/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.standard.product -keyring /Users/Elena/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2014-10-16 20:43:52.743
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.jface 2 0 2014-10-16 20:43:53.942
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2014-10-16 20:43:53.943
!MESSAGE A conflict occurred for COMMAND+SHIFT+F10:
Binding(COMMAND+SHIFT+F10,
ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register As Service,
Adds class name to META-INF/services/%serviceType% file after service type is selected in the dialog from types extended and implemented by the class.,
Category(org.eclipse.ui.category.file,File,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@2df3545d,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(COMMAND+SHIFT+F10,
ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show System Menu,
Show the system menu,
Category(org.eclipse.ui.category.window,Window,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@75ad30c1,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,cocoa,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2014-10-16 20:43:53.943
!MESSAGE A conflict occurred for ALT+COMMAND+Z:
Binding(ALT+COMMAND+Z,
ParameterizedCommand(Command(org.jboss.tools.cdi.ui.open.namedBean,Open CDI Named Bean,
Open CDI Named Bean,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@fe8aaeb,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+COMMAND+Z,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu,Surround With Quick Menu,
Shows the Surround With quick menu,
Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@6b9697ae,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,cocoa,system)
!ENTRY com.android.ide.eclipse.adt 1 0 2014-10-16 20:44:03.016
!MESSAGE No valid Android XML Editor Delegate found for file /handling-spring-static-resources/pom.xml [Res null, type null]
!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-10-16 20:44:06.875
!MESSAGE
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1081)
at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:607)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:362)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:142)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:323)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1147)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:96)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:649)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:526)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:511)
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:61)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:59)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:103)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:96)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.postProcess(PerspectiveStackRenderer.java:77)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:649)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62)
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:581)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1042)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2014-10-16 20:44:08.029
!MESSAGE Could not load repository template extension contributed by org.eclipse.mylyn.bugzilla.ide with connectorKind bugzilla
!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2014-10-16 20:44:08.029
!MESSAGE Could not load repository template extension contributed by org.springsource.ide.eclipse.dashboard.ui with connectorKind jira
!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2014-10-16 20:44:08.030
!MESSAGE Could not load repository template extension contributed by org.springsource.ide.eclipse.dashboard.ui with connectorKind jira
!ENTRY org.eclipse.ui.workbench 4 2 2014-10-16 20:44:30.651
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at org.springframework.ide.eclipse.maven.internal.legacyconversion.LegacyProjectChecker.earlyStartup(LegacyProjectChecker.java:36)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2555)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.ui 4 4 2014-10-16 20:44:30.663
!MESSAGE Unhandled Exception
!ENTRY org.springframework.ide.eclipse.maven 4 0 2014-10-16 20:44:30.663
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NullPointerException
at org.springframework.ide.eclipse.maven.internal.legacyconversion.LegacyProjectChecker.earlyStartup(LegacyProjectChecker.java:36)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2555)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
INDEX VERSION 1.127

View File

@ -1,2 +0,0 @@
aj
java

View File

@ -1,23 +0,0 @@
INDEX VERSION 1.127+/Users/Elena/tutorials/.metadata/.plugins/org.eclipse.jdt.core
4249315662.index
1271342938.index
272178059.index
3712507179.index
2996324989.index
1833648217.index
3302703152.index
450555687.index
4238209716.index
3954040986.index
1819685514.index
770573466.index
156905802.index
3004609673.index
2545238116.index
2326659272.index
3266567714.index
1384487945.index
84777399.index
3000285004.index
765977872.index
3321539481.index

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dirs>
<entry loc="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" stamp="1399236793000"/>
<entry loc="/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home" stamp="1395111241000"/>
<entry loc="/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home" stamp="1412820975000"/>
</dirs>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<typeInfoHistroy/>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy/>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
<item value="2" key="layout"/>
<item value="true" key="group_libraries"/>
<item value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0A;&lt;packageExplorer group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1413506466605&quot;&gt;&#x0A;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;&gt;&#x0A;&lt;xmlDefinedFilters&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_RemoteSystemsConnections&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.mylyn.java.ui.MembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_*_Roo_*.aj&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;_patternFilterId_*.ajsym&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.pde.ui.BinaryProjectFilter1&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.ajdt.ui.editor.outline.AdviceFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.pde.ui.ExternalPluginLibrariesFilter1&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_RemoteSystemsTempFiles&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.ajdt.ui.editor.outline.PointcutFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.ajdt.ui.editor.outline.DeclarationFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.ajdt.javamodel.CompilationUnitFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.ajdt.ui.editor.outline.IntroductionFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;/xmlDefinedFilters&gt;&#x0A;&lt;/customFilters&gt;&#x0A;&lt;/packageExplorer&gt;" key="memento"/>
<item value="1" key="rootMode"/>
<item value="false" key="linkWithEditor"/>
</section>
<section name="BuildPathsPropertyPage">
<item value="0" key="pageIndex"/>
</section>
</section>

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="RefactoringWizard.preview">
<item value="600" key="width"/>
<item value="400" key="height"/>
</section>
</section>

View File

@ -1,2 +0,0 @@
#Cached timestamps
#Thu Oct 16 20:42:58 PET 2014

View File

@ -1,57 +0,0 @@
# RSE DOM Node
00-name=MacBook-Pro-de-Elena-Garcia-Miro-P\:local.files
01-type=FilterPool
03-attr.default=true
03-attr.deletable=true
03-attr.id=local.files
03-attr.nonRenamable=false
03-attr.owningParentName=null
03-attr.release=200
03-attr.singleFilterStringOnly=false
03-attr.singleFilterStringOnlyESet=false
03-attr.stringsCaseSensitive=true
03-attr.supportsDuplicateFilterStrings=false
03-attr.supportsNestedFilters=true
03-attr.type=default
06-child.00000.00-name=My Home
06-child.00000.01-type=Filter
06-child.00000.03-attr.default=false
06-child.00000.03-attr.filterType=default
06-child.00000.03-attr.id=My Home
06-child.00000.03-attr.nonChangable=false
06-child.00000.03-attr.nonDeletable=false
06-child.00000.03-attr.nonRenamable=false
06-child.00000.03-attr.promptable=false
06-child.00000.03-attr.relativeOrder=0
06-child.00000.03-attr.release=200
06-child.00000.03-attr.singleFilterStringOnly=false
06-child.00000.03-attr.stringsCaseSensitive=true
06-child.00000.03-attr.stringsNonChangable=false
06-child.00000.03-attr.supportsDuplicateFilterStrings=false
06-child.00000.03-attr.supportsNestedFilters=true
06-child.00000.06-child.00000.00-name=/Users/Elena/*
06-child.00000.06-child.00000.01-type=FilterString
06-child.00000.06-child.00000.03-attr.default=false
06-child.00000.06-child.00000.03-attr.string=/Users/Elena/*
06-child.00000.06-child.00000.03-attr.type=default
06-child.00001.00-name=Root
06-child.00001.01-type=Filter
06-child.00001.03-attr.default=false
06-child.00001.03-attr.filterType=default
06-child.00001.03-attr.id=Root
06-child.00001.03-attr.nonChangable=false
06-child.00001.03-attr.nonDeletable=false
06-child.00001.03-attr.nonRenamable=false
06-child.00001.03-attr.promptable=false
06-child.00001.03-attr.relativeOrder=0
06-child.00001.03-attr.release=200
06-child.00001.03-attr.singleFilterStringOnly=false
06-child.00001.03-attr.stringsCaseSensitive=true
06-child.00001.03-attr.stringsNonChangable=false
06-child.00001.03-attr.supportsDuplicateFilterStrings=false
06-child.00001.03-attr.supportsNestedFilters=true
06-child.00001.06-child.00000.00-name=/*
06-child.00001.06-child.00000.01-type=FilterString
06-child.00001.06-child.00000.03-attr.default=false
06-child.00001.06-child.00000.03-attr.string=/*
06-child.00001.06-child.00000.03-attr.type=default

View File

@ -1,25 +0,0 @@
# RSE DOM Node
00-name=Local
01-type=Host
03-attr.description=
03-attr.hostname=LOCALHOST
03-attr.offline=false
03-attr.promptable=false
03-attr.systemType=org.eclipse.rse.systemtype.local
03-attr.type=Local
06-child.00000.00-name=Local Connector Service
06-child.00000.01-type=ConnectorService
06-child.00000.03-attr.group=Local Connector Service
06-child.00000.03-attr.port=0
06-child.00000.03-attr.useSSL=false
06-child.00000.06-child.00000.00-name=Local Files
06-child.00000.06-child.00000.01-type=SubSystem
06-child.00000.06-child.00000.03-attr.hidden=false
06-child.00000.06-child.00000.03-attr.type=local.files
06-child.00000.06-child.00000.06-child.00000.00-name=MacBook-Pro-de-Elena-Garcia-Miro-P___MacBook-Pro-de-Elena-Garcia-Miro-P\:local.files
06-child.00000.06-child.00000.06-child.00000.01-type=FilterPoolReference
06-child.00000.06-child.00000.06-child.00000.03-attr.refID=local.files
06-child.00000.06-child.00001.00-name=Local Shells
06-child.00000.06-child.00001.01-type=SubSystem
06-child.00000.06-child.00001.03-attr.hidden=false
06-child.00000.06-child.00001.03-attr.type=local.shells

View File

@ -1,7 +0,0 @@
# RSE DOM Node
00-name=MacBook-Pro-de-Elena-Garcia-Miro-P
01-type=Profile
03-attr.defaultPrivate=true
03-attr.isActive=true
05-ref.00000=FP.local.files_0
05-ref.00001=H.local_16

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="SearchDialog.ScopePart">
<item value="0" key="scope"/>
</section>
<section name="">
<item value="1000" key="org.eclipse.search.resultpage.limit"/>
</section>
<section name="TextSearchPage">
<item value="1" key="HISTORY_SIZE"/>
<item value="false" key="CASE_SENSITIVE"/>
<item value="false" key="REG_EX_SEARCH"/>
<item value="false" key="WHOLE_WORD"/>
<item value="false" key="SEARCH_DERIVED"/>
<section name="EXTENSIONS">
<item value="*.xml" key="0"/>
</section>
<section name="HISTORY0">
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
<item value="spring" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*.xml"/>
</list>
<list key="workingSets">
</list>
</section>
</section>
<section name="org.eclipse.search.text.FileSearchResultPage">
<item value="1000" key="org.eclipse.search.resultpage.limit"/>
</section>
<section name="Search">
<list key="Search.processedPageIds">
<item value="org.eclipse.rse.internal.files.ui.search.searchPage"/>
<item value="org.eclipse.search.internal.ui.text.TextSearchPage"/>
<item value="org.eclipse.mylyn.tasks.ui.search.page"/>
<item value="org.eclipse.cdt.ui.pdomSearchPage"/>
<item value="org.eclipse.egit.ui.commitSearchPage"/>
<item value="org.eclipse.jdt.ui.JavaSearchPage"/>
<item value="org.eclipse.wst.jsdt.ui.JavaSearchPage"/>
<item value="org.eclipse.pde.internal.ui.search.SearchPage"/>
<item value="org.springframework.ide.eclipse.beans.ui.search.searchPage"/>
<item value="org.springframework.ide.eclipse.aop.ui.matcher.matcherPage"/>
</list>
<list key="Search.enabledPageIds">
<item value="org.eclipse.rse.internal.files.ui.search.searchPage"/>
<item value="org.eclipse.search.internal.ui.text.TextSearchPage"/>
<item value="org.eclipse.mylyn.tasks.ui.search.page"/>
<item value="org.eclipse.cdt.ui.pdomSearchPage"/>
<item value="org.eclipse.egit.ui.commitSearchPage"/>
<item value="org.eclipse.jdt.ui.JavaSearchPage"/>
<item value="org.eclipse.wst.jsdt.ui.JavaSearchPage"/>
<item value="org.eclipse.pde.internal.ui.search.SearchPage"/>
<item value="org.springframework.ide.eclipse.beans.ui.search.searchPage"/>
<item value="org.springframework.ide.eclipse.aop.ui.matcher.matcherPage"/>
</list>
</section>
<section name="SearchDialog">
<item value="org.eclipse.search.internal.ui.text.TextSearchPage" key="PREVIOUS_PAGE"/>
</section>
<section name="DialogBounds_SearchDialog">
<item value="1238" key="DIALOG_WIDTH"/>
<item value="1|Lucida Grande|11.0|0|COCOA|1|LucidaGrande" key="DIALOG_FONT_NAME"/>
<item value="442" key="DIALOG_HEIGHT"/>
<item value="-107" key="DIALOG_X_ORIGIN"/>
<item value="109" key="DIALOG_Y_ORIGIN"/>
</section>
</section>

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="quick_assist_proposal_size">
</section>
</section>

View File

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="CleanDialogSettings">
<item value="484" key="DIALOG_WIDTH"/>
<item value="false" key="TOGGLE_SELECTED"/>
<item value="354" key="DIALOG_HEIGHT"/>
<item value="542" key="DIALOG_X_ORIGIN"/>
<item value="195" key="DIALOG_Y_ORIGIN"/>
</section>
<section name="org.springsource.ide.eclipse.commons.quicksearch.ui.QuickSearchDialog.DIALOG_SETTINGS">
<item value="true" key="CASE_SENSITIVE"/>
<item value="spring" key="LAST_QUERY"/>
<list key="SASH_WEIGHTS">
<item value="833"/>
<item value="166"/>
</list>
<list key="COLUMN_WIDTHS">
<item value="40"/>
<item value="400"/>
<item value="136"/>
</list>
<section name="DialogBoundsSettings">
<item value="600" key="DIALOG_WIDTH"/>
<item value="1|Lucida Grande|11.0|0|COCOA|1|LucidaGrande" key="DIALOG_FONT_NAME"/>
<item value="500" key="DIALOG_HEIGHT"/>
<item value="212" key="DIALOG_X_ORIGIN"/>
<item value="51" key="DIALOG_Y_ORIGIN"/>
</section>
</section>
</section>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.ui.texteditor.FindReplaceDialog">
<item value="false" key="isRegEx"/>
<item value="spring" key="selection"/>
<item value="false" key="casesensitive"/>
<item value="false" key="incremental"/>
<item value="true" key="wrap"/>
<item value="false" key="wholeword"/>
<list key="findhistory">
<item value="spring"/>
</list>
<list key="replacehistory">
</list>
</section>
<section name="org.eclipse.ui.texteditor.FindReplaceDialog_dialogBounds">
<item value="263" key="DIALOG_WIDTH"/>
<item value="1|Lucida Grande|11.0|0|COCOA|1|LucidaGrande" key="DIALOG_FONT_NAME"/>
<item value="399" key="DIALOG_HEIGHT"/>
<item value="381" key="DIALOG_X_ORIGIN"/>
<item value="118" key="DIALOG_Y_ORIGIN"/>
</section>
</section>

View File

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.ui.internal.QuickAccess">
<item value="563" key="dialogHeight"/>
<item value="900" key="dialogWidth"/>
<list key="textEntries">
</list>
<list key="orderedElements">
</list>
<list key="orderedProviders">
</list>
<list key="textArray">
</list>
</section>
<section name="NewWizardAction">
<item value="com.springsource.sts.wizard.template" key="NewWizardSelectionPage.STORE_SELECTED_ID"/>
<list key="NewWizardSelectionPage.STORE_EXPANDED_CATEGORIES_ID">
<item value="org.springframework.ide.eclipse.beans.ui.wizards.category"/>
</list>
</section>
<section name="ShowViewDialog">
<item value="308" key="DIALOG_WIDTH"/>
<item value="1|Lucida Grande|11.0|0|COCOA|1|LucidaGrande" key="DIALOG_FONT_NAME"/>
<item value="org.eclipse.wst.server.ui.ServersView" key="ShowViewDialog.STORE_SELECTED_VIEW_ID"/>
<item value="415" key="DIALOG_HEIGHT"/>
<item value="358" key="DIALOG_X_ORIGIN"/>
<item value="108" key="DIALOG_Y_ORIGIN"/>
<list key="ShowViewDialog.STORE_EXPANDED_CATEGORIES_ID">
<item value="org.jboss.tools.seam.ui"/>
<item value="org.eclipse.wst.server.ui"/>
</list>
</section>
</section>

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<workingSetManager>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1413510241684_0" label="Window Working Set" name="Aggregate for window 1413506466605"/>
</workingSetManager>

View File

@ -1,3 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
</section>

View File

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><cache><entry expirationTime="1413593231335" lastModified="1412151818000" location="2039846003.cache" uri="http://www.springframework.org/schema/beans/spring-beans.xsd"/><entry expirationTime="1413593236574" lastModified="1412151822000" location="-1798692377.cache" uri="http://www.springframework.org/schema/context/spring-context.xsd"/><entry expirationTime="1413593233034" lastModified="1412151832000" location="1968467275.cache" uri="http://www.springframework.org/schema/mvc/spring-mvc.xsd"/><entry expirationTime="1413593234626" lastModified="1412151818000" location="-1067935324.cache" uri="http://www.springframework.org/schema/beans/spring-beans-4.1.xsd"/><entry expirationTime="1413593430490" lastModified="1387221072000" location="1040705443.cache" uri="http://www.springframework.org/schema/security/spring-security-3.2.xsd"/><entry expirationTime="1413593235499" lastModified="1412151818000" location="-1038726925.cache" uri="http://www.springframework.org/schema/tool/spring-tool-4.1.xsd"/><entry expirationTime="1413593426758" lastModified="1412151818000" location="547547444.cache" uri="http://www.springframework.org/schema/beans/spring-beans-4.0.xsd"/></cache>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<typeInfoHistroy/>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy/>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<monitors/>

View File

@ -1,3 +0,0 @@
#
#Thu Oct 16 20:44:26 PET 2014
task-tag-projects-already-scanned=

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="contentassistsize">
</section>
</section>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="searchSection">
<item value="Search JBoss Community" key="initialMessage"/>
<list key="searchKey">
</list>
</section>
</section>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<aop-reference-model/>

View File

@ -1,816 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Spring</title>
<link rel="alternate" href="https://spring.io/blog" />
<link rel="self" href="https://spring.io/blog.atom" />
<id>http://spring.io/blog.atom</id>
<icon>https://spring.io/favicon.ico</icon>
<updated>2014-10-15T13:20:00Z</updated>
<entry>
<title>Whats new in Spring Data Evans?</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/15/whats-new-in-spring-data-evans" />
<category term="engineering" label="Engineering" />
<author>
<name>Christoph Strobl</name>
</author>
<id>tag:spring.io,2014-09-17:1764</id>
<updated>2014-10-15T13:20:00Z</updated>
<content type="html">&lt;p&gt;Spring Data Release &lt;a href="https://spring.io/blog/2014/09/09/spring-data-release-train-evans-goes-ga"&gt;Evans&lt;/a&gt; has been around for a while and it's more than time to finally introduce you to the latest and greatest features we shipped with it.&lt;/p&gt;
&lt;p&gt;There's a lot to cover since major enhancements have gone into the commons module. Those changes already have made it into some store modules and will go on and sneak their way into others over time, too. All of them are already available for at least &lt;a href="http://projects.spring.io/spring-data-jpa/"&gt;Spring Data JPA&lt;/a&gt;. That said, lets jump right in.&lt;/p&gt;
&lt;h2&gt;
&lt;a name="user-content-advanced-support-for-java-8" class="anchor" href="#advanced-support-for-java-8" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Advanced support for Java 8&lt;/h2&gt;
&lt;p&gt;Java8 has now been around for a while and previous Spring Data release trains already added fundamental support for some of those. With the Evans release train we extended the support significantly.&lt;/p&gt;
&lt;p&gt;Java 8's &lt;a href="http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html"&gt;&lt;code&gt;Optional&lt;/code&gt;&lt;/a&gt; has been a supported return since the &lt;a href="https://spring.io/blog/2014/05/21/what-s-new-in-spring-data-dijkstra"&gt;Dijkstra release&lt;/a&gt; freeing you of having &lt;code&gt;null&lt;/code&gt; checks spread across your code. We simply wrap and unwrap values for you when used as return types with repositories.&lt;/p&gt;
&lt;p&gt;As of the Evans release &lt;a href="http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html"&gt;default methods&lt;/a&gt; can be used in repository interfaces to e.g. forward parts of the parameters handed into the method to other query methods.&lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;PersonRepository&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;Repository&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Person&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Long&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="n"&gt;Optional&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Customer&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;findByLastname&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;lastname&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="n"&gt;Optional&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Customer&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;findByLastname&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Customer&lt;/span&gt; &lt;span class="n"&gt;customer&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;findByLastname&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;customer&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;customer&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;getLastname&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;a name="user-content-enhanced-multi-store-support" class="anchor" href="#enhanced-multi-store-support" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Enhanced multi-store support&lt;/h2&gt;
&lt;p&gt;Configuring your application to make use of different Spring Data modules has not been without issues so far. E.g. you might want to combine JPA and MongoDB where &lt;code&gt;Customer&lt;/code&gt; happens to be a JPA Entity while &lt;code&gt;Order&lt;/code&gt; is a MongoDB Document both persisted via according repository interfaces.&lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="nd"&gt;@Entity&lt;/span&gt;
&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Customer&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="nd"&gt;@Id&lt;/span&gt; &lt;span class="nd"&gt;@GeneratedValue&lt;/span&gt; &lt;span class="n"&gt;Long&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;firstname&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;lastname&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// ...&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="nd"&gt;@Document&lt;/span&gt;
&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Order&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="nd"&gt;@Id&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;Long&lt;/span&gt; &lt;span class="n"&gt;customerId&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;Date&lt;/span&gt; &lt;span class="n"&gt;orderDate&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// ...&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;CustomerRepository&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;CrudRepository&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Customer&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Long&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{}&lt;/span&gt;
&lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;OrderRepository&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;CrudRepository&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Order&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Until the Spring Data Evans release you had to manually configure the repository setup for MongoDB and JPA to mutually exclude the interfaces not relevant for the given store. Users usually used separate packages for that.&lt;/p&gt;
&lt;p&gt;Now the repository setup detects that multiple Spring Data modules are on the classpath, and automatically restricts the repository scanning and inspect the domain type used by a given repository for store specific annotations such as &lt;code&gt;@Entity&lt;/code&gt; and &lt;code&gt;@Document&lt;/code&gt; to determine the concrete implementation they belong to. E.g. the Spring Data MongoDB module would drop the (accidentally) detected &lt;code&gt;CustomerRepository&lt;/code&gt; as we don't find an &lt;code&gt;@Document&lt;/code&gt; annotation.&lt;/p&gt;
&lt;h3&gt;
&lt;a name="user-content-statically-limiting-results" class="anchor" href="#statically-limiting-results" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Statically limiting results&lt;/h3&gt;
&lt;p&gt;Dynamically limiting results is no new concept since Spring Data has had &lt;code&gt;Pagable&lt;/code&gt; as abstraction since its inception and I bet nearly every Spring Data user is already familiar with something like this:&lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Person&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;findByLastname&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;lastname&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Pageable&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This method declaration provides quite some flexibility: clients define the page number, size and a sort order of the elements they want to access. This is great if these values change dynamically (e.g. when you traverse the result set page by page).&lt;/p&gt;
&lt;p&gt;But what if you're always only interested in e.g. the first 10 results and you always want them to be ordered by lastname? This could've been achieved by statically defining a &lt;code&gt;PageRequest&lt;/code&gt; and reusing that for every method invocation. However, that still required the client to hand in the special &lt;code&gt;PageRequest&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;As of Spring Data Evans we now offer you a convenient way to explicitly limit the result set to a certain number of elements by using the keywords &lt;code&gt;top&lt;/code&gt; and &lt;code&gt;first&lt;/code&gt; followed by an optional positive numeric value (defaulting to 1).&lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Person&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;findTop10ByLastnameOrderByFirstnameDesc&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;lastname&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;a name="user-content-mongodb-full-text-search" class="anchor" href="#mongodb-full-text-search" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;MongoDB Full Text Search&lt;/h2&gt;
&lt;p&gt;The Evans RC1 release introduced basic &lt;a href="https://spring.io/blog/2014/07/17/text-search-your-documents-with-spring-data-mongodb"&gt;text index support&lt;/a&gt; for MongoDB 2.6. Using &lt;code&gt;@TextIndexed&lt;/code&gt; allows you to mark properties you want to have text search enabled for so that we can go on and create the index for you. Note, that placing &lt;code&gt;@TextIndexed&lt;/code&gt; on properties referring to complex types will index all properties of that type. Since scoring is a fundamental part of full text search the &lt;code&gt;@TextScore&lt;/code&gt; annotation will assert that any full text query returns the documents score allowing you to order them by relevance.&lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="nd"&gt;@Document&lt;/span&gt;
&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;BlogPost&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="nd"&gt;@Id&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nd"&gt;@TextIndexed&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;weight&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nd"&gt;@TextIndexed&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;weight&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nd"&gt;@TextIndexed&lt;/span&gt; &lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;categories&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nd"&gt;@TextScore&lt;/span&gt; &lt;span class="n"&gt;Float&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;That in place, we extended the repository support to accept a &lt;code&gt;TextCriteria&lt;/code&gt; instance that will define detailed options about the text search that shall be executed: the terms to be searched for, language options etc.&lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;BlogPostRepository&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;CrudRepository&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;BlogPost&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="n"&gt;Page&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;BlogPost&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;findBy&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;TextCriteria&lt;/span&gt; &lt;span class="n"&gt;criteria&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Pageable&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;BlogPost&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;findAllByOrderByScoreDesc&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;TextCriteria&lt;/span&gt; &lt;span class="n"&gt;criteria&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The first query method is quite straight forward. It executes the given &lt;code&gt;TextCriteria&lt;/code&gt; and pages the results. The second query method definition combines the given &lt;code&gt;TextCriteria&lt;/code&gt; with a standard criteria definition derived from the method name. This shows that you can freely combine text search with standard query easily.&lt;/p&gt;
&lt;h2&gt;
&lt;a name="user-content-mongodb-query-modifiers" class="anchor" href="#mongodb-query-modifiers" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;MongoDB query modifiers&lt;/h2&gt;
&lt;p&gt;We added &lt;code&gt;@Meta&lt;/code&gt; allowing you to define output and behavior of a query. By setting e.g. &lt;code&gt;maxExecutionTime&lt;/code&gt; one can define the maximum duration a query may take (in milliseconds). Any execution that exceeds the limit will result in an error. You can also advice MongoDB to only scan through a maximum number of documents and return what has been found until reaching the limit by setting &lt;code&gt;maxScanDocuments&lt;/code&gt;, while &lt;code&gt;comment&lt;/code&gt; allows you to define text you can search for within the &lt;code&gt;system.profile&lt;/code&gt; collection in case you got profiling enabled for your MongoDB instance. &lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="nd"&gt;@Meta&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;maxExcecutionTime&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;comment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"onlyLimitedTime"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Customer&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;findByFirstname&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;firstname&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;a name="user-content-configuration-options-for-redis-sentinel" class="anchor" href="#configuration-options-for-redis-sentinel" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Configuration options for Redis Sentinel&lt;/h2&gt;
&lt;p&gt;Redis 2.8 introduced high-availability support know as &lt;a href="http://redis.io/topics/sentinel"&gt;Sentinels&lt;/a&gt;. The Redis module of Spring Data Evans adds support to easily configure connecting to a sentinel setup so that your client will be able to continue working in case of re-elections of master nodes in a Redis cluster.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;RedisSentinelConfiguration&lt;/code&gt; defines where the Sentiels are located so that the &lt;code&gt;ConnectionFactory&lt;/code&gt; can set up pooling accordingly. In case of Jedis it will create a &lt;code&gt;JedisSentinelPool&lt;/code&gt; for automatic failover. This means that in case your master node goes down, you'll receive, as soon as the Sentinels agreed on a new master, a connection to the new master without the need of any further interaction. &lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="nd"&gt;@Configuration&lt;/span&gt;
&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;RedisSentinelApplicationConfig&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="nd"&gt;@Bean&lt;/span&gt;
&lt;span class="n"&gt;RedisConnectionFactory&lt;/span&gt; &lt;span class="nf"&gt;connectionFactory&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nf"&gt;JedisConnectionFactory&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sentinelConfig&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="nd"&gt;@Bean&lt;/span&gt;
&lt;span class="n"&gt;RedisSentinelConfiguration&lt;/span&gt; &lt;span class="nf"&gt;sentinelConfig&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nf"&gt;RedisSentinelConfiguration&lt;/span&gt;&lt;span class="o"&gt;().&lt;/span&gt;&lt;span class="na"&gt;master&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"mymaster"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;sentinel&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"localhost"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;26379&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;sentinel&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"localhost"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;26380&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;sentinel&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"localhost"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;26381&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The upcoming Spring Boot 1.2, will even take this even further by automatically picking up the &lt;code&gt;RedisSentinelConfiguration&lt;/code&gt; if present and initialize the &lt;code&gt;RedisConnectionFactory&lt;/code&gt; accordingly.&lt;/p&gt;
&lt;h2&gt;
&lt;a name="user-content-schema-support-for-solr" class="anchor" href="#schema-support-for-solr" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Schema support for Solr&lt;/h2&gt;
&lt;p&gt;Although the &lt;a href="https://cwiki.apache.org/confluence/display/solr/Schema+API"&gt;Solr Schema API&lt;/a&gt; is not finished yet, we already try to support as much of it as possible. With the Evans release you can now dynamically add missing fields to an existing (managed) schema. To achieve this, we read the existing field definition and compare it against the one derived from the properties of the domain type. To do so we extended the &lt;code&gt;@Indexed&lt;/code&gt; annotation a bit. It now allows some fine tuning of the fields to be created as values such as &lt;code&gt;indexed&lt;/code&gt;, &lt;code&gt;stored&lt;/code&gt; and &lt;code&gt;solrType&lt;/code&gt; can be explicitly defined.&lt;/p&gt;
&lt;div class="highlight highlight-java"&gt;&lt;pre&gt;&lt;span class="nd"&gt;@Configuration&lt;/span&gt;
&lt;span class="nd"&gt;@EnableSolrRepositories&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;schemaCreationSupport&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;SolrConfiguration&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="nd"&gt;@Bean&lt;/span&gt;
&lt;span class="n"&gt;SolrServer&lt;/span&gt; &lt;span class="nf"&gt;solrServer&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nf"&gt;HttpSolrServer&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"http://localhost:8983/solr"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="nd"&gt;@SolrDocument&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;solrCoreName&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"collection1"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ManagedProduct&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="nd"&gt;@Id&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nd"&gt;@Indexed&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"text_general"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nd"&gt;@Indexed&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"cat"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;category&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;As always we are eager to hear from you! Reach out to us on &lt;a href="https://twitter.com/SpringData"&gt;Twitter&lt;/a&gt;, &lt;a href="http://stackoverflow.com/tags/spring-data"&gt;Stackoverflow&lt;/a&gt; or &lt;a href="http://jira.spring.io"&gt;JIRA&lt;/a&gt; to request new features, suggest improvements or report a bug.&lt;/p&gt;</content>
</entry>
<entry>
<title>This Week in Spring - Tuesday October 14th, 2014</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/14/this-week-in-spring-tuesday-october-14th-2014" />
<category term="engineering" label="Engineering" />
<author>
<name>Josh Long</name>
</author>
<id>tag:spring.io,2014-10-14:1789</id>
<updated>2014-10-14T18:05:00Z</updated>
<content type="html">&lt;p&gt;Welcome to another installment of &lt;em&gt;This Week in Spring&lt;/em&gt;! This week I've been at Silicon Valley Code Camp, JAX London and Geekout UK talking to developers about how to build scalable, microservice-centric &lt;a href="http://start.spring.io"&gt;Spring Boot&lt;/a&gt; applications on &lt;a href="http://cloudfoundry.org/index.html"&gt;Cloud Foundry&lt;/a&gt;. It's been a lot fun talking to enthusiastic developers (on both sides of the Atlantic!).&lt;/p&gt;
&lt;p&gt;Without further ado, let's get on with the roundup!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Spring Boot co-lead Phil Webb just announced the availability of &lt;a href="https://spring.io/blog/2014/10/11/spring-boot-1-2-0-m2-available-now"&gt;Spring Boot 1.2.0.M2&lt;/a&gt; which includes, among other things, auto-configuration for Jersey, log4j, &lt;code&gt;commons-dbcp&lt;/code&gt; support, a smarter &lt;em&gt;disk usage&lt;/em&gt; health indicator and improved RabbitMQ support&lt;/li&gt;
&lt;li&gt;Spring and Groovy Tool Suite lead Martin Lippert &lt;a href="https://spring.io/blog/2014/10/13/spring-tool-suite-and-groovy-grails-tool-suite-3-6-2-released"&gt;has just announced the latest and greatest release, 3.6.2&lt;/a&gt;, which is a maintenance release that includes an update to the latest Eclipse Luna SR1 installation. &lt;/li&gt;
&lt;li&gt;Also, Spring Boot co-lead &lt;a href="https://spring.io/blog/2014/10/11/spring-boot-1-1-8-released"&gt;Phil Webb just announced the 1.1.8 release of the 1.1x line of Spring Boot&lt;/a&gt; which includes a fix for the white-label error page cross-site scripting attack. &lt;/li&gt;
&lt;li&gt;Federated security is an important part of any distributed, multi-client, (micro)service-oriented system. Spring Security and Spring Security OAuth, in particular, provide a compelling solution. Join the good Dr. Dave Syer for this &lt;a href="https://spring.io/blog/2014/10/01/webinar-security-for-microservices-with-spring-and-oauth2"&gt;upcoming webinar on microservice security using OAuth2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Matt Stine will be doing a webinar introducing &lt;a href="https://spring.io/blog/2014/10/01/webinar-architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud"&gt;how Pivotal Cloud Foundry and Spring Cloud make for a natural solution to building microservices&lt;/a&gt;. Don't miss this one!&lt;/li&gt;
&lt;li&gt;Atlanta, GA, USA Tuesday Oct 21, Learn about Spring, Microservices, and Cloud Foundry at a &lt;a href="http://www.pivotal.io/platform-as-a-service/cloud-platform-roadshow/atlanta#cities"&gt;one day roadshow event&lt;/a&gt; at Cox communications.&lt;/li&gt;
&lt;li&gt;Munich, Germany, GA, Thursday Oct 23, Learn about Spring, Microservices, and Cloud Foundry at a &lt;a href="http://www.pivotal.io/platform-as-a-service/cloud-platform-roadshow/munich"&gt;one day roadshow event&lt;/a&gt; at EMC's office in Ismaning, Germany. &lt;/li&gt;
&lt;li&gt;I hope you'll join the Vaadin team and I on October 23rd for a &lt;a href="http://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin"&gt;look how to build Spring Boot-powered Vaadin applications&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;The &lt;em&gt;Java et Moi&lt;/em&gt; blog has a nice (French language) post &lt;a href="http://javaetmoi.com/2014/10/annotation-sessionattributes-modelattribute-spring-mvc/"&gt;on using Spring MVC's &lt;code&gt;@SessionAttribute&lt;/code&gt; annotation&lt;/a&gt;&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;I &lt;em&gt;really&lt;/em&gt; enjoyed this &lt;a href="http://altfatterz.blogspot.com/2014/10/software-configuration-with-spring-boot.html"&gt;very thorough look at contributing configuration property values&lt;/a&gt; to a Spring Boot application (as &lt;code&gt;--D&lt;/code&gt; arguments, environment variables, values in a property file, and values inside of JNDI)&lt;/li&gt;
&lt;li&gt;Sudhir Dharmadhikari has done a &lt;em&gt;very&lt;/em&gt; &lt;a href="http://iwaow.blogspot.com/2014/10/jhipster-super-baby-in-springroos-pouch.html"&gt;nice job introducing the &lt;code&gt;yeoman&lt;/code&gt; code-generator based JHipster&lt;/a&gt;, which builds on top of &lt;a href="http://spring.io/projects/spring-boot"&gt;Spring Boot&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Our pal Miroslav Kopecky is back, this &lt;a href="http://java.dzone.com/articles/scala-4-spring-mvc-without-0"&gt;time with a nice post on using Spring MVC (in Spring 4) using Java configuration&lt;/a&gt; (through Scala!)&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://antirez.com/news/79"&gt;Redis Cluster is no longer vaporware&lt;/a&gt;! Check out the details.&lt;/li&gt;
&lt;li&gt; Biju Kunjummen has put together &lt;a href="http://java.dzone.com/articles/spring-configuration-and"&gt;a very nice post on the two styles of Java configuration&lt;/a&gt;: one where you declare dependencies as parameters to the &lt;code&gt;@Bean&lt;/code&gt;-annotated bean definition method, and one where you simply reference the other bean by calling a method.&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;Check out this post on &lt;a href="http://architects.dzone.com/articles/using-log4j2-slf4j-spring-4"&gt;avoiding dependency conflicts between Log4j2 and SLF4J&lt;/a&gt; in a Spring application.&lt;/li&gt;
&lt;li&gt;Check out this post by Daniel Murygin which includes a detailed walk-through &lt;a href="http://murygin.wordpress.com/2014/10/13/rest-web-service-file-uploads-spring-boot/"&gt;on building a fairly non-trivial REST service (that even handles file-uploads!) and client application using Spring Boot&lt;/a&gt;?&lt;br&gt;
&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
<entry>
<title>Spring Tool Suite and Groovy/Grails Tool Suite 3.6.2 released</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/13/spring-tool-suite-and-groovy-grails-tool-suite-3-6-2-released" />
<category term="releases" label="Releases" />
<author>
<name>Martin Lippert</name>
</author>
<id>tag:spring.io,2014-10-13:1788</id>
<updated>2014-10-13T14:20:11Z</updated>
<content type="html">&lt;p&gt;Dear Spring Community,&lt;/p&gt;
&lt;p&gt;I am happy to announce the new release of our Eclipse-based tooling today:
The Spring Tool Suite (STS) 3.6.2 and the Groovy/Grails Tool Suite (GGTS) 3.6.2.&lt;/p&gt;
&lt;p&gt;This is a maintenance release that updates STS/GGTS to the just released Eclipse Luna SR1 release. This includes a number of fixes across the various projects that are included in the STS distribution, together with fixes for the Java8 compiler and tooling in Eclipse.&lt;/p&gt;
&lt;p&gt;To download the distributions, please go visit:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Spring Tool Suite: &lt;a href="https://spring.io/tools/sts/all"&gt;https://spring.io/tools/sts/all&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Groovy/Grails Tool Suite: &lt;a href="https://spring.io/tools/ggts/all"&gt;https://spring.io/tools/ggts/all&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Detailed new and noteworthy notes can be found here: &lt;a href="http://docs.spring.io/sts/nan/v362/NewAndNoteworthy.html"&gt;STS/GGTS 3.6.2 New &amp;amp; Noteworthy&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;NOTE:
Both tool suites ship on top of the latest Eclipse Luna 4.4 SR1 release as 64bit and 32bit based zip files only. There will be no native installers for STS/GGTS anymore.&lt;/p&gt;
&lt;p&gt;Since the 3.6.0 release we shifted towards a slightly changed release schedule, shipping minor releases more frequently. Therefore 3.6.3 is scheduled to ship in December, followed by 3.6.4 in early March 2015, shortly after the Eclipse Luna SR2 release.&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;</content>
</entry>
<entry>
<title>Spring Boot 1.2.0.M2 Available Now</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/11/spring-boot-1-2-0-m2-available-now" />
<category term="releases" label="Releases" />
<author>
<name>Phil Webb</name>
</author>
<id>tag:spring.io,2014-10-11:1786</id>
<updated>2014-10-11T03:55:53Z</updated>
<content type="html">&lt;p&gt;I am pleased to announce that Spring Boot 1.2.0.M2 is available now in the &lt;a href="http://repo.springsource.org/milestone"&gt;Spring milestone repository&lt;/a&gt;. This release adds a number of improvements and new features over &lt;a href="https://spring.io/blog/2014/09/08/spring-boot-1-2-0-m1-available-now"&gt;M1&lt;/a&gt;. Highlights include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Full configuration of Jackson &lt;code&gt;ObjectMapper&lt;/code&gt; features from your &lt;code&gt;application.properties&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;Auto-configuration for Jersey.&lt;/li&gt;
&lt;li&gt;Support for Log4j2.&lt;/li&gt;
&lt;li&gt;Support for commons-dbcp2.&lt;/li&gt;
&lt;li&gt;A new "disk usage" health indicator.&lt;/li&gt;
&lt;li&gt;Improved RabbitMQ auto-configuration.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For a complete list of changes, and for upgrade instructions, see the &lt;a href="http://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.2-Release-Notes"&gt;Spring Boot 1.2 Release Notes&lt;/a&gt; on the WIKI. The &lt;a href="http://docs.spring.io/spring-boot/docs/1.2.0.M2/reference/htmlsingle/"&gt;reference documentation&lt;/a&gt; also continues to be updated to cover the new features.&lt;/p&gt;
&lt;p&gt;Thanks again to everyone that has contributed to the release! Please give it a go and report any problems using &lt;a href="http://github.com/spring-projects/spring-boot/issues"&gt;the project Issue tracker&lt;/a&gt; page.&lt;/p&gt;</content>
</entry>
<entry>
<title>Spring Boot 1.1.8 released</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/11/spring-boot-1-1-8-released" />
<category term="releases" label="Releases" />
<author>
<name>Phil Webb</name>
</author>
<id>tag:spring.io,2014-10-11:1785</id>
<updated>2014-10-11T00:37:52Z</updated>
<content type="html">&lt;p&gt;Spring Boot 1.1.8 has been released and is available now from &lt;a href="http://repo.spring.io/release"&gt;repo.spring.io&lt;/a&gt; and &lt;a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.springframework.boot%22"&gt;Maven Central&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;This maintenance release includes a &lt;a href="https://github.com/spring-projects/spring-boot/commit/3135c7f8aeb30b71eccc02bb0bb3817132c41060"&gt;security patch&lt;/a&gt; to the "white label error" page which prevents potential cross-site scripting attacks; as such it is a recommended upgrade for all Spring Boot users. For a complete list of changes please refer to the &lt;a href="https://github.com/spring-projects/spring-boot/issues?q=milestone%3A1.1.8"&gt;issue tracker&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://projects.spring.io/spring-boot/"&gt;Project Page&lt;/a&gt; | &lt;a href="https://github.com/spring-projects/spring-boot"&gt;GitHub&lt;/a&gt; | &lt;a href="https://github.com/spring-projects/spring-boot/issues"&gt;Issues&lt;/a&gt; | &lt;a href="http://docs.spring.io/spring-boot/docs/1.1.8.RELEASE/reference/htmlsingle"&gt;Documentation&lt;/a&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Pivotal at Silicon Valley Code Camp 2014</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/10/pivotal-at-silicon-valley-code-camp-2014" />
<category term="news" label="News and Events" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-10-10:1784</id>
<updated>2014-10-10T10:24:00Z</updated>
<content type="html">&lt;p&gt;Are you heading to Silicon Valley Code Camp 2014?   If you are, we invite all of the Java community members to stop by the Pivotal Booth and talk to Pivotal engineers about the latest innovations in Java SE, in Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Cloud Foundry and Hadoop. The exhibit space is open Saturday 8:00am 5:00pm, and Saturday from 8:30am to 3:30pm, so there should be plenty of time to get your questions answered.  See below for details about our sessions and awesome giveaways - come find us! &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SATURDAY - OCTOBER 11, 2014            &lt;/strong&gt;&lt;br&gt;
9:45 AM &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Josh Long — Spring advocate at Pivotal&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.siliconvalley-codecamp.com/Session/2014/building-bootiful-applications-with-spring-boot" target="_blank"&gt;Building "Bootiful Applications with Spring Boot &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Room: 8401&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;11:45 AM &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;John Hann, — Pivotal&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.siliconvalley-codecamp.com/Session/2014/introducing-ravejs-zero-config-javascript-applications" target="_blank"&gt;Introducing Rave.js: Zero-config JavaScript Applications&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Room: 8401&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;1:45 PM &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ilayaperumal Gopinathan — Pivotal&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.siliconvalley-codecamp.com/Session/2014/simplifying-big-data-development-using-spring-xd" target="_blank"&gt;Simplifying Big Data development at Spring XD&lt;/a&gt;&lt;/li&gt;
&lt;li&gt; Room: 8403&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;SUNDAY - OCTOBER 12, 2014&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;9:15 AM &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cornelia Davis — Platform Engineer at Pivotal&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.siliconvalley-codecamp.com/Session/2014/the-self-healing-elastic-runtime-that-is-cloud-foundry"&gt;The Self-healing, Elastic Runtime that is Cloud Foundry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Room: Room: 4302&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;10:45 AM&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cornelia Davis — Platform Engineer at Pivotal&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.siliconvalley-codecamp.com/Session/2014/running-your-spring-apps-in-the-cloud" target="_blank"&gt;Running Your Spring Apps in the Cloud&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Room: 4302&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Visit us at the Pivotal Code Camp booth for technical expert conversations on Cloud Foundry, Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Hadoop and much more. &lt;/p&gt;
&lt;p&gt;Also, don't miss the &lt;a href="http://run.pivotal.io"&gt;Pivotal Web Services&lt;/a&gt; Hoodie Push!  &lt;a href="https://spring.io/guides/gs/rest-service/"&gt;Build a REST service with Spring Boot&lt;/a&gt;, push it live to run.pivotal.io and get a hoodie!  You can do it ahead of time, and show it running to us, or use our laptops at the booth. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" target="_blank"&gt;&lt;img border="0" width="215" height="254" src="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" style="max-width:100%;"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Save the date for SpringOne2GX 2015!  We hope you will mark your calendar and join us again! SpringOne2GX 2015 will be held September 14 - 17, 2015 at the Marriott Marquis in Washington DC.&lt;/p&gt;</content>
</entry>
<entry>
<title>This Week in Spring - October 7th, 2014</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/08/this-week-in-spring-october-7th-2014" />
<category term="engineering" label="Engineering" />
<author>
<name>Josh Long</name>
</author>
<id>tag:spring.io,2014-10-08:1783</id>
<updated>2014-10-08T03:49:00Z</updated>
<content type="html">&lt;p&gt;Welcome to another installment of &lt;em&gt;This Week in Spring&lt;/em&gt;! This week, I've been at the Couchbase Connect conference talking to developers about Spring Data Couchbase (and Spring Boot, Spring XD, Spring Session, and more..). Fun show, fun crowd! Next week, I'll be at &lt;a href="http://jaxlondon.com/2014/speakers/josh-long"&gt;JAX London&lt;/a&gt; and &lt;a href="http://uk.geekout.ee/speakers/josh-long/"&gt;Geekout UK&lt;/a&gt;, so be sure to say hi if you're around. &lt;/p&gt;
&lt;p&gt;Now, with that, let's get on to the roundup..&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The good Dr. Pollack just announced &lt;a href="http://spring.io/blog/2014/10/02/spring-xd-1-0-1-released"&gt;the 1.0.1 release of Spring XD&lt;/a&gt;, the easiest way to build data-integration and ingestion solutions. It may be only a 1.0.1 release, but make no mistake: there are some very cool features in this release, including improved administrative and administrative UI features. &lt;/li&gt;
&lt;li&gt;Federated security is an important part of any distributed, multi-client, (micro)service-oriented system. Spring Security and Spring Security OAuth, in particular, provide a compelling solution. Join the good Dr. Dave Syer for this &lt;a href="https://spring.io/blog/2014/10/01/webinar-security-for-microservices-with-spring-and-oauth2"&gt;upcoming webinar on microservice security using OAuth2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Matt Stine will be doing a webinar introducing &lt;a href="https://spring.io/blog/2014/10/01/webinar-architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud"&gt;how Pivotal Cloud Foundry and Spring Cloud make for a natural solution to building microservices&lt;/a&gt;. Don't miss this one!&lt;/li&gt;
&lt;li&gt; Spring and JavaScript ninja Brian Cavalier has written a &lt;em&gt;very&lt;/em&gt; interesting post on some of &lt;a href="http://github.com/spring-projects/spring-sync/"&gt;the work&lt;/a&gt; we're doing towards enabling &lt;a href="http://spring.io/blog/2014/10/08/streaming-json-patch-from-spring-to-a-react-ui"&gt;easier differential sync between JavaScript clients and services&lt;/a&gt;. This post not only introduces all these exciting new stuff, but also builds on RaveJS, the Spring Boot-inspired approach to JavaScript.&lt;/li&gt;
&lt;li&gt;I hope you'll join the Vaadin team and I on October 23rd for a &lt;a href="http://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin"&gt;look how to build Spring Boot-powered Vaadin applications&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Justin Lee Grant has put together &lt;a href="http://www.justinleegrant.com/?p=489"&gt;a good introductory look at Spring Boot&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Spring lead Juergen Hoeller just &lt;a href="http://spring.io/blog/2014/10/01/spring-framework-4-1-1-released"&gt;announced the 4.1.1 release of Spring framework&lt;/a&gt;. This release includes improved &lt;code&gt;Optional&lt;/code&gt; handling, a Jackson &lt;code&gt;ObjectMapper&lt;/code&gt; builder, some requested JDBC improvements, and much more. &lt;/li&gt;
&lt;li&gt;The good Dr. Syer just announced &lt;a href="http://spring.io/blog/2014/10/07/spring-cloud-1-0-0-m1-available-now"&gt;the first milestone release of the Spring Cloud project&lt;/a&gt;. Spring Cloud provides primatives for building microservice and PaaS-centric applications. It builds on top of the Netflix OSS stack and Spring Boot.&lt;/li&gt;
&lt;li&gt;Karthik Abram put together &lt;a href="http://www.eclecticlogic.com/2014/09/01/classpath-scanning/"&gt;a nice post on a hidden gem in Spring: the &lt;code&gt;ClassPathScanningCandidateComponentProvider&lt;/code&gt;&lt;/a&gt; class, which makes it easy to discover beans of a certain type. &lt;/li&gt;
&lt;li&gt;Nicolas Lejeune has written up a fascinating look at how he managed &lt;a href="http://labs.bsb.com/2014/09/turn-a-legacy-app-into-a-cf-service/"&gt;to convert a legacy application (it uses EJB3) and move it to a Cloud Foundry environment&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Our pal Toshiaki Maki put together &lt;a href="http://github.com/making/spring-boot-blank"&gt;his ideal Spring Boot Maven archetype&lt;/a&gt;, and &lt;a href="http://twitter.com/making/status/519626091934134272"&gt;shared it&lt;/a&gt;!&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;Are you a Groovy fan? (who isn't??) Check out Groovy project lead Guillaume LaForge's weekly roundup, &lt;a href="http://t.co/AiDLC6novd"&gt;&lt;em&gt;This Week in Groovy&lt;/em&gt;&lt;/a&gt;!&lt;/li&gt;
&lt;li&gt;Do you want &lt;a href="http://mikusa.blogspot.com/2014/08/debugging-java-applications-on.html"&gt;to debug applications deployed on Cloud Foundry&lt;/a&gt;? Daniel Mikusa put together a very nice post explaining one approach. &lt;/li&gt;
&lt;/ol&gt;</content>
</entry>
<entry>
<title>Streaming JSON Patch from Spring to a React UI</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/08/streaming-json-patch-from-spring-to-a-react-ui" />
<category term="engineering" label="Engineering" />
<author>
<name>Brian Cavalier</name>
</author>
<id>tag:spring.io,2014-10-07:1782</id>
<updated>2014-10-08T01:47:03Z</updated>
<content type="html">&lt;p&gt;We're exploring ways to help developers create rich, modern front-ends that integrate easily with Spring back-ends. If you attended SpringOne this year, you've already seen some of the things we've been working on:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://speakerdeck.com/gregturn/springone2gx-2014-spring-data-rest-data-meets-hypermedia"&gt;Hypermedia support in Spring Data REST&lt;/a&gt; presented by Greg Turnquist, Oliver Gierke, and Roy Clarkson&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.slideshare.net/unscriptable/rave-js-springone-2gx-2014"&gt;RaveJS: Spring Boot concepts for JavaScript applications&lt;/a&gt; by John Hann&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.slideshare.net/briancavalier/differential-sync-and-json-patch-s2-gx-2014"&gt;Differential Synchronization and JSON Patch&lt;/a&gt; by Craig Walls and me&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;In short, We want to make it easy to communicate efficiently between a Spring back-end and a client and to easily integrate the best and most popular client-side technologies.&lt;/p&gt;
&lt;h2&gt;
&lt;a name="user-content-react--streaming-updates" class="anchor" href="#react--streaming-updates" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;React + streaming updates&lt;/h2&gt;
&lt;p&gt;JSON Patch is a format for sending incremental changes to structured data. I thought it would be interesting to try streaming updates in JSON Patch format via STOMP all the way out to a web UI.&lt;/p&gt;
&lt;p&gt;Craig Walls had already built a simple &lt;a href="https://github.com/habuma/scores"&gt;football scores proof of concept&lt;/a&gt;, using the new &lt;a href="https://github.com/spring-projects/spring-sync/"&gt;Spring Sync&lt;/a&gt; project to push score updates to a browser using JSON Patch over STOMP. I was able to take his POC, drop in RaveJS, add client-side reactive streams, and integrate the updates into a &lt;a href="http://facebook.github.io/react/"&gt;React&lt;/a&gt; UI component.&lt;/p&gt;
&lt;p&gt;You can find the &lt;a href="https://github.com/briancavalier/scores"&gt;complete code on github in my rave-most-react branch&lt;/a&gt;. The server is unchanged from Craig's original version. The &lt;a href="https://github.com/briancavalier/scores/tree/rave-most-react/src/main/resources/public"&gt;web client&lt;/a&gt; is where the action is. Have a look at the &lt;a href="https://github.com/briancavalier/scores/blob/rave-most-react/src/main/resources/public/main.js"&gt;main.js to get an overall sense of the app&lt;/a&gt; before we dive into some specifics.&lt;/p&gt;
&lt;h2&gt;
&lt;a name="user-content-starting-out" class="anchor" href="#starting-out" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Starting out&lt;/h2&gt;
&lt;p&gt;I used &lt;a href="https://github.com/RaveJS/rave"&gt;RaveJS&lt;/a&gt; and npm to manage my client side dependencies, so my startup was simple:&lt;/p&gt;
&lt;div class="highlight highlight-sh"&gt;&lt;pre&gt;&amp;gt; &lt;span class="nb"&gt;cd &lt;/span&gt;src/main/resources/public
&amp;gt; npm init
&amp;lt;answer a few questions&amp;gt;
&amp;gt; npm install --save rave most jiff react rave-load-jsx rave-node-process stompjs
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Then I just needed a single script tag in the existing HTML, and I was off to coding!&lt;/p&gt;
&lt;div class="highlight highlight-html"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"node_modules/rave/rave.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;a name="user-content-introducing-mostjs" class="anchor" href="#introducing-mostjs" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Introducing most.js&lt;/h2&gt;
&lt;p&gt;Thanks to Craig, I already had a stream of updates (in JSON Patch format) flowing to the client over STOMP. I decided that the nicest way to work with the stream of patches would be to (surprise!) &lt;em&gt;actually use a stream&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/cujojs/most"&gt;Most.js&lt;/a&gt; is cujoJS's new JavaScript reactive streams package. It provides a small, but powerful set of APIs for creating, transforming, and consuming event streams. I used it to wrap up the stompjs API.&lt;/p&gt;
&lt;p&gt;It turns out that there were two STOMP subscriptions: one that carried an initial, complete copy of all the score data, and another that carried all the subsequent changes. I was able to wrap both subscriptions up into a single reactive stream representing "the latest set of scores" by using &lt;a href="https://github.com/cujojs/jiff"&gt;jiff.js&lt;/a&gt; to apply the JSON Patches as they arrived.&lt;/p&gt;
&lt;p&gt;This bit of code creates a stream from a STOMP subscription to the initial data, takes the first event (a complete snapshot of all scores), and combines it with a second stream containing only JSON Patch updates to produce a view of the scores that changes over time.&lt;/p&gt;
&lt;div class="highlight highlight-js"&gt;&lt;pre&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;getScoresStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;initDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;updateDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="c1"&gt;// Create a stream containing one full copy of the data, and&lt;/span&gt;
&lt;span class="c1"&gt;// flatMap that to a stream containing the time-varying&lt;/span&gt;
&lt;span class="c1"&gt;// current set of scores, by accumulating each patch&lt;/span&gt;
&lt;span class="c1"&gt;// and emitting the updated scores data.&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;getInitialDataStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;initDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;flatMap&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;getUpdatesStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;updateDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;getInitialDataStream&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;initDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="c1"&gt;// Await a copy of the data from the STOMP subscription&lt;/span&gt;
&lt;span class="c1"&gt;// that is sending the full scores data, then unsubscribe.&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;streamFromStompJson&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;initDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;take&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;getUpdatesStream&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;updateDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="c1"&gt;// Incrementally accumulate patches from the STOMP subscription&lt;/span&gt;
&lt;span class="c1"&gt;// that is carrying JSON Patches onto the scores data to produce&lt;/span&gt;
&lt;span class="c1"&gt;// an updated view of the scores.&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;streamFromStompJson&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;updateDestination&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;startWith&lt;/span&gt;&lt;span class="p"&gt;([])&lt;/span&gt;
&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;scan&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;updateWithJsonPatch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Most.js also automatically cleans up underlying resources when streams end. It was easy to arrange to unsubscribe from the first subscription after an initial copy of the full scores data had arrived, leaving only one subscription: the changes.&lt;/p&gt;
&lt;h2&gt;
&lt;a name="user-content-making-the-ui-with-react" class="anchor" href="#making-the-ui-with-react" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;Making the UI with React&lt;/h2&gt;
&lt;p&gt;Now that I had a single most.js stream representing the latest scores, I created a &lt;a href="https://github.com/briancavalier/scores/blob/rave-most-react/src/main/resources/public/Scoreboard.jsx"&gt;React component to display them&lt;/a&gt;. I installed (see above) the &lt;a href="https://github.com/KidkArolis/rave-load-jsx"&gt;rave-load-jsx extension&lt;/a&gt;, a RaveJS extension created by a community member, which enables direct JSX component loading in RaveJS. All I had to do was create a Scoreboard.jsx file and start coding a simple React scoreboard component.&lt;/p&gt;
&lt;p&gt;React components have an internal &lt;code&gt;state&lt;/code&gt; object containing the data that will be used to render the component. All I needed to do was pass the latest scores stream when creating the component, and then have the component observe the stream and update its &lt;code&gt;state&lt;/code&gt;. The relevant bit of code is only a couple lines:&lt;/p&gt;
&lt;div class="highlight highlight-js"&gt;&lt;pre&gt;&lt;span class="c1"&gt;// this.props.scores is the scores stream provided when the&lt;/span&gt;
&lt;span class="c1"&gt;// Scoreboard component is created&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;observe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="nx"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;setState&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;scores&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;scores&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;React took care of automatically keeping the DOM in sync with the &lt;code&gt;state&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
&lt;a name="user-content-from-bits-to-pixels" class="anchor" href="#from-bits-to-pixels" aria-hidden="true"&gt;&lt;span class="octicon octicon-link"&gt;&lt;/span&gt;&lt;/a&gt;From bits to pixels&lt;/h2&gt;
&lt;p&gt;This is admittedly a toy app. However, it shows quite a few powerful concepts working together in a very small space, with very little code: small, server-generated deltas flowing over STOMP + WebSocket, to a reactive stream on the client being observed by a React component. Changes are flowing from a Spring back-end through to the UI--bits to pixels, as it were.&lt;/p&gt;
&lt;p&gt;I hope this tiny app also provides a glimpse at the direction we're headed. We want to provide tools and client-side packages that help developers build rich, modern client applications that integrate with leading client-side technologies and Spring back-ends.&lt;/p&gt;</content>
</entry>
<entry>
<title>Spring Cloud 1.0.0.M1 Available Now</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/07/spring-cloud-1-0-0-m1-available-now" />
<category term="releases" label="Releases" />
<author>
<name>Dave Syer</name>
</author>
<id>tag:spring.io,2014-10-07:1781</id>
<updated>2014-10-07T13:25:00Z</updated>
<content type="html">&lt;p&gt;&lt;a href="http://projects.spring.io/spring-cloud"&gt;Spring Cloud&lt;/a&gt; (the new umbrella project announced in September) has reached a milestone, its first, and fresh jars are available in the &lt;a href="http://repo.spring.io/libs-milestone-local"&gt;repo.spring.io&lt;/a&gt; repository. Spring Cloud is going to follow a "release train" model for releases, a bit like Spring Data, but we haven't got a cool name for this one yet, so it's just 1.0.0.M1. The modules that are part of this release are &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Spring Cloud Config: Centralized external configuration management backed by a git repository. The configuration resources map directly to Spring &lt;code&gt;Environment&lt;/code&gt; but could be used by non-Spring applications if desired.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spring Cloud Netflix: Integration with various Netflix OSS components (Eureka, Hystrix, Zuul, Archaius, etc.).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spring Cloud Bus: An event bus for linking services and service instances together with distributed messaging. Useful for propagating state changes across a cluster (e.g. config change events).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spring Cloud Security: A set of primitives for building secure applications and services with minimum fuss.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spring Cloud CLI: Spring Boot CLI plugin for creating Spring Cloud component applications quickly in Groovy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spring Cloud Starters: Spring Boot-style starter projects to ease dependency management for consumers of Spring Cloud.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;All of the above have the 1.0.0.M1 release tag, so a good starting point to try it out would be to &lt;a href="http://projects.spring.io/spring-cloud/spring-cloud.html#_installation"&gt;install the CLI&lt;/a&gt; and run Config Server with this code:&lt;/p&gt;
&lt;div class="highlight highlight-groovy"&gt;&lt;pre&gt;&lt;span class="nd"&gt;@EnableConfigServer&lt;/span&gt;
&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ConfigServer&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;then hit &lt;code&gt;http://localhost:8080/foo/default&lt;/code&gt; to see some property sources.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://github.com/spring-cloud"&gt;code&lt;/a&gt; is hosted on github, and community contributions are extremely welcome, so get on over there are check it out. There are some neat samples in a separate organization: &lt;a href="https://github.com/spring-cloud-samples"&gt;spring-cloud-samples&lt;/a&gt;, including a "scripts" project that has git submodules and scripts to get a complete demo system up and running as quickly as possible.&lt;/p&gt;</content>
</entry>
<entry>
<title>Spring XD 1.0.1 released</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/02/spring-xd-1-0-1-released" />
<category term="releases" label="Releases" />
<author>
<name>Mark Pollack</name>
</author>
<id>tag:spring.io,2014-10-02:1780</id>
<updated>2014-10-02T22:49:48Z</updated>
<content type="html">&lt;p&gt;On behalf of the Spring XD team, I am very pleased to announce the general availability of Spring XD 1.0.1! &lt;/p&gt;
&lt;p&gt;This release includes &lt;a href="https://jira.spring.io/secure/ReleaseNote.jspa?projectId=11401&amp;amp;version=14685"&gt;bug fixes and enhancements&lt;/a&gt; as well as some new features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/spring-projects/spring-xd/wiki/Application-Configuration#enabling-https"&gt;HTTPS access&lt;/a&gt; and &lt;a href="https://github.com/spring-projects/spring-xd/wiki/Application-Configuration#enabling-authentication"&gt;Authentication&lt;/a&gt; to Admin Server&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/spring-projects/spring-xd/wiki/AdminUI#containers"&gt;Cluster&lt;/a&gt; and &lt;a href="https://github.com/spring-projects/spring-xd/wiki/AdminUI#streams"&gt;Stream&lt;/a&gt; views in UI&lt;/li&gt;
&lt;li&gt;Configure a &lt;a href="https://github.com/spring-projects/spring-xd/wiki/Modules#custom-module-registry"&gt;location for custom modules&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/spring-projects/spring-xd/wiki/Sinks#null-sink"&gt;Null sink&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;You can &lt;a href="http://repo.spring.io/release/org/springframework/xd/spring-xd/1.0.1.RELEASE/spring-xd-1.0.1.RELEASE-dist.zip"&gt;download the zip distribution&lt;/a&gt; or install on OSX &lt;a href="https://github.com/spring-projects/spring-xd/wiki/Getting-Started#osx-homebrew-installation"&gt;using homebrew&lt;/a&gt;. On RHEL/CentOs you can &lt;a href="https://github.com/spring-projects/spring-xd/wiki/Getting-Started#redhatcentos-installation"&gt;install using yum&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Feedback is very important, so please get in touch with questions and comments via&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://stackoverflow.com/questions/tagged/spring-xd"&gt;StackOverflow&lt;/a&gt; &lt;code&gt;spring-xd&lt;/code&gt; tag&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://jira.spring.io/browse/XD/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel"&gt;Spring JIRA&lt;/a&gt; or &lt;a href="https://github.com/spring-projects/spring-xd/issues"&gt;GitHub Issues&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
<entry>
<title>Spring Framework 4.1.1 released</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/01/spring-framework-4-1-1-released" />
<category term="releases" label="Releases" />
<author>
<name>Juergen Hoeller</name>
</author>
<id>tag:spring.io,2014-10-01:1779</id>
<updated>2014-10-01T13:15:00Z</updated>
<content type="html">&lt;p&gt;Dear Spring community,&lt;/p&gt;
&lt;p&gt;I'm pleased to announce that Spring Framework 4.1.1 is available now. As the &lt;b&gt;first maintenance release in the 4.1 line&lt;/b&gt;, this release contains a wide range of fixes for regressions and other issues reported against 4.1 GA. A big thank you to all the issue reporters out there!&lt;/p&gt;
&lt;p&gt;4.1.1 also comes with a &lt;b&gt;selection of minor enhancements&lt;/b&gt;, for example: consistent handling of Java 8's Optional type, a Jackson ObjectMapper builder class with refined defaults, some requested JDBC refinements, as well as &lt;b&gt;specific performance improvements&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://jira.spring.io/issues/?jql=project%20%3D%20SPR%20AND%20fixVersion%20%3D%204.1.1%20ORDER%20BY%20issuetype%20ASC"&gt;-&amp;gt; List of resolved JIRA issues for Spring Framework 4.1.1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We strongly recommend an immediate upgrade to 4.1.1 for all 4.1 GA users. The Spring Framework team is now working towards &lt;b&gt;Spring Framework 4.1.2 at the end of October&lt;/b&gt;, which will be the foundation for the upcoming Spring Boot 1.2 GA release.&lt;/p&gt;
&lt;p&gt;On a related note, along with 4.1.2, we are preparing &lt;b&gt;Spring Framework 4.0.8 as the last 4.0.x maintenance release&lt;/b&gt;. If there is anything you'd like to get fixed in the 4.0.x branch still, now is the time to raise it! Otherwise, please upgrade to 4.1.x for ongoing active maintenance.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Juergen&lt;/p&gt;</content>
</entry>
<entry>
<title>This Week in Spring - September 30, 2014</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/01/this-week-in-spring-september-30-2014" />
<category term="engineering" label="Engineering" />
<author>
<name>Josh Long</name>
</author>
<id>tag:spring.io,2014-10-01:1774</id>
<updated>2014-10-01T03:20:00Z</updated>
<content type="html">&lt;p&gt;Welcome to another installment of &lt;em&gt;This Week in Spring!&lt;/em&gt; This week &lt;a href="http://spring.io/blog/2014/09/26/pivotal-at-javaone-2014"&gt;the Spring team is at JavaOne&lt;/a&gt;! There's been, and will be, &lt;em&gt;lots&lt;/em&gt; to see! We're also hanging out at the booth, talking to as many users as possible. Check out the link I just give listing all the cool Pivotal (and non-Pivotal) talks at JavaOne. (Ahem. Naturally, I personally would &lt;em&gt;love&lt;/em&gt; it if you made &lt;a href="http://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3693&amp;amp;tclass=popup"&gt;my talk - &lt;em&gt;Spring4TW!&lt;/em&gt; - tomorrow morning at 8:30am at Parc 55, Cyril Magnin II/III&lt;/a&gt;!).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/joshlong/meh/master/javaone2014-boot-twis.jpg" target="_blank"&gt;&lt;img src="https://raw.githubusercontent.com/joshlong/meh/master/javaone2014-boot-twis.jpg" style="max-width:100%;"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In addition to IoT, Big Data, and Microservice demos using &lt;a href="http://projects.spring.io/spring-cloud/"&gt;NetFlixOSS on Spring&lt;/a&gt;, students were doing the coding challenge to build a &lt;a href="https://spring.io/guides/gs/rest-service/"&gt;REST service with Spring Boot&lt;/a&gt; and pushed to &lt;a href="http://run.pivotal.io"&gt;Pivotal Web Services&lt;/a&gt; in &amp;lt; 15 minutes to get the &lt;a href="http://preshavedyak.com/"&gt;preshavedyak hoodie&lt;/a&gt; from American Apparel, and learning about the best PaaS for Java available on the market today; Java 8 / Tomcat 8 support was released just days ago, and there is strong support for Spring, Groovy and Grails.&lt;/p&gt;&lt;ul&gt;
&lt;li&gt;I really liked Michael Plod's &lt;a href="http://spring.io/blog/2014/09/26/webinar-replay-why-i-recommend-spring"&gt;&lt;em&gt;Why I Recommend Spring&lt;/em&gt; webinar&lt;/a&gt;, now available online as a replay&lt;/li&gt;
&lt;li&gt;Last week, Activiti BPMN2 engine co-founder Joram Barrez and I gave a talk on &lt;a href="http://spring.io/blog/2014/09/26/webinar-replay-process-driven-spring-applications-with-activiti"&gt;how to build process (read: workflow) centric Spring applications&lt;/a&gt;, also now available online. &lt;/li&gt;
&lt;li&gt;Tuesday, Oct 21st, 2014 join &lt;a href="https://twitter.com/mstine"&gt;Matt Stine&lt;/a&gt; for microservice architecture series #2: &lt;a href="http://spring.io/blog/2014/10/01/webinar-architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud"&gt;Architecting for Continuous Delivery: Microservices with Pivotal CF and Spring Cloud&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Thursday, October 23, 2014, 2014 &lt;a href="http://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin"&gt;Building “Bootful” UIs with Spring Boot and Vaadin&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Tuesday, November 4, 2014 - microservice architecture series #3 - Join &lt;a href="https://twitter.com/david_syer"&gt;Dr. Dave Syer&lt;/a&gt; on &lt;a href="http://spring.io/blog/2014/10/01/webinar-security-for-microservices-with-spring-and-oauth2"&gt;Security for Microservices with Spring and OAuth2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Missed microservice architecture #1? Catch the replay of &lt;a href="http://spring.io/blog/2014/09/17/webinar-replay-building-bootiful-microservices-with-spring-boot"&gt;Building "Bootiful" Microservices with Spring Boot&lt;/a&gt; on the Spring Developer Channel&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://spring.io/blog/2014/09/26/spring-boot-1-1-7-released"&gt;Spring Boot 1.1.7 is now available&lt;/a&gt;! &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://raymondhlee.wordpress.com/2014/09/20/setup-spring-security-with-active-directory-ldap-in-spring-boot-web-application/"&gt;Setup Spring Security with Active Directory LDAP in Spring Boot Web Application&lt;/a&gt; (I &lt;em&gt;just&lt;/em&gt; got asked about this at the Spring BOF yesterday!)&lt;/li&gt;
&lt;li&gt;There's been an interesting debate on microservices recently. &lt;a href="http://blog.cleancoder.com/uncle-bob/2014/09/19/MicroServicesAndJars.html"&gt;"Uncle" Bob Martin has written up a post claiming that &lt;code&gt;.jar&lt;/code&gt;s and Ruby &lt;code&gt;gem&lt;/code&gt;s give you the same benefit of microservices&lt;/a&gt;. There's a &lt;a href="http://www.giorgiosironi.com/2014/09/microservices-are-not-jars.html"&gt;great rebuttal (which I happen to agree with..) by Giorgio Sironi on his blog&lt;/a&gt;. There's even a nice wrapup of &lt;a href="http://www.infoq.com/news/2014/09/microservices-shared-libraries?utm_source=infoq&amp;amp;utm_medium=popular_links_homepage"&gt;the whole discussion on InfoQ&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;I really dig &lt;a href="http://blog.pivotal.io/cloud-foundry-pivotal/case-studies-2/platform-wind-tunnel-part-i-heroku"&gt;Matt Stine's &lt;em&gt;wind tunnel&lt;/em&gt; comparison of PaaSes&lt;/a&gt;. Up first: Heroku. I can't wait to see subsequent posts in the series!&lt;/li&gt;
&lt;li&gt;This post on using Spring Data Redis was published (and included in &lt;em&gt;TWiS&lt;/em&gt;..) last year, &lt;a href="http://www.ibm.com/developerworks/library/os-springredis/index.html"&gt;but it came up again and I still thnk it's a worthy read&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;The eHarmony blog has a nice post on &lt;a href="http://www.eharmony.com/engineering/spring-batch-admin-the-tricky-parts/#.VCtPFildUpg"&gt;how to setup Spring Batch Admin (the tricky parts..)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;In the &lt;em&gt;you have to see it to beleive it&lt;/em&gt; department, did you know there's a &lt;a href="http://bitbucket.org/sglienke/spring4d"&gt;Spring for Delphi (Spring4D) project&lt;/a&gt;? There are Spring-inspired C++, ColdFusion, JavaScript, .NET, Python, and numerous others. Cool to add this to the list.&lt;/li&gt;
&lt;li&gt;The Intertech blog has &lt;a href="http://www.intertech.com/Blog/spring-integration-tutorial-part-7-service-activators/"&gt;another installment on their &lt;em&gt;epic&lt;/em&gt; Spring Integration tutorial&lt;/a&gt;. This one's on &lt;em&gt;service activators&lt;/em&gt; - basically the Spring Integration escape-hatch so you can call regular Java objects.&lt;/li&gt;
&lt;li&gt;Benjamin Ball has a great &lt;a href="http://java.dzone.com/articles/getting-started-rabbitmq-and"&gt;writeup on using RabbitMQ and Spring&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Yashwant Chavan has a nice post on building a simple &lt;a href="http://www.technicalkeeda.com/spring/spring-boot-mvc-example"&gt;Spring Boot (with Spring MVC) example and editing it in Eclipse&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;Our pals at Codecentric are at it again! They've just released &lt;a href="http://blog.codecentric.de/en/2014/09/spring-boot-admin-first-official-release/"&gt;their first cut of their &lt;em&gt;Spring Boot Admin&lt;/em&gt;&lt;/a&gt;. This looks like something that would fit nicely in the &lt;a href="http://github.com/spring-cloud/"&gt;Spring Cloud&lt;/a&gt; project... &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://prezi.com/ob4vxjmj_h1f/spring-boot/"&gt;This has to be one of the coolest Spring Boot presentations, ever&lt;/a&gt;! Careful, I don't recommend watching it full-screen if you get motion sickness! :)&lt;/li&gt;
&lt;li&gt;Are you stuck on Apache CXF but still want first-class security? This post &lt;a href="http://java.dzone.com/articles/embedded-jetty-and-apache-cxf"&gt;looks at how to plugin Spring Security on top of CXF in minutes&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Biju Kunjummen did a nice job &lt;a href="http://java.dzone.com/articles/spring-1"&gt;clarifying the differences between Spring's &lt;code&gt;WebApplicationInitializer&lt;/code&gt; and &lt;code&gt;ApplicationContextInitializer&lt;/code&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
<entry>
<title>Webinar: Architecting for Continuous Delivery: Microservices with Pivotal CF and Spring Cloud</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/01/webinar-architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud" />
<category term="news" label="News and Events" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-10-01:1776</id>
<updated>2014-10-01T02:20:00Z</updated>
<content type="html">&lt;p&gt;Speaker: Matt Stine, Pivotal &lt;/p&gt;
&lt;p&gt;Join Matt Stine to hear how you can architect systems that are optimized for continuous delivery, allowing you to innovate and deliver value faster and safer. Microservices, Pivotal CF, and Spring Cloud combine to create an operationalized architecture that enables enterprises to continuously deliver value at scale through rapid, iterative development, and to meet the needs of a mobile-first world.&lt;/p&gt;
&lt;p&gt;Tuesday, Oct 21st, 2014 3:00PM BST (London GMT+01:00) &lt;a href="http://connect.pivotal.io/OSS_Webinar_MicroserviceswithPivotalCFandSpringCloud7AM_Register.html"&gt;Register&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tuesday, Oct 21st, 2014 10:00AM PDT (San Francisco GMT-07:00) &lt;a href="http://connect.pivotal.io/OSS_Webinar_MicroserviceswithPivotalCFandSpringCloud10AM_Register.html"&gt;Register&lt;/a&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Webinar: Building “Bootful” UIs with Spring Boot and Vaadin</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin" />
<category term="news" label="News and Events" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-10-01:1777</id>
<updated>2014-10-01T01:20:00Z</updated>
<content type="html">&lt;p&gt;Speaker: Josh Long, Pivotal and Vaadin&lt;/p&gt;
&lt;p&gt; It's been a long day, but you've done it: you've got a Spring Boot powered backend and now you need to build the UI that'll power the workforce and deliver next week. Vaadin, a UI framework that marries the ease of use of server-side Java and the rich, dynamic nature of client-side JavaScript, integrates well with Spring Boot and offers UI polish that would be hard to secure any other way. Join Spring developer advocate Josh Long and Vaadin evangelists for a look at how Vaadin and Spring Boot can get you to production quicker, and easier.&lt;/p&gt;
&lt;p&gt;Thursday, October 23, 2014, 2014 3:00PM BST (London GMT+01:00) &lt;a href="http://connect.pivotal.io/OSS_Webinar_BuildingBootfulUIswithSpringBootandVaadin7AM_Register.html"&gt;Register&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thursday, October 23, 2014 10:00AM PDT (San Francisco GMT-07:00) &lt;a href="http://connect.pivotal.io/OSS_Webinar_BuildingBootfulUIswithSpringBootandVaadin10AM_Register.html"&gt;Register&lt;/a&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Webinar: Security for Microservices with Spring and OAuth2</title>
<link rel="alternate" href="https://spring.io/blog/2014/10/01/webinar-security-for-microservices-with-spring-and-oauth2" />
<category term="news" label="News and Events" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-10-01:1778</id>
<updated>2014-10-01T01:10:00Z</updated>
<content type="html">&lt;p&gt;Speaker: Dave Syer&lt;/p&gt;
&lt;p&gt;Security for Microservices with Spring and OAuth2 OAuth2 is a lightweight security protocol that is well-suited for use with HTTP, the protocol at the heart of many modern architectures. Spring Security OAuth2 has a load of new features, not the least of which being the `@Configuration` support in version 2.0. Combine these with Spring Boot and you have a platform which can get you a secure HTTP service application in about 20 lines of code. This presentation shows how the combination of rapid development and production-ready features in the modern Spring stack are a perfect mixture for developing secure components in a system composed of microservices. We explore the new features in Spring OAuth2, guide you through the choice of which to use and when, and show how easy they are to enable quickly.&lt;/p&gt;
&lt;p&gt;Tuesday, November 4, 2014 3:00PM GMT (London GMT) &lt;a href="http://connect.pivotal.io/OSS_Webinar_SecurityforMicroserviceswithSpringandOAuth2_7AM_Register.html"&gt;Register&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tuesday, November 4, 2014 10:00AM PST (San Francisco GMT-08:00) &lt;a href="http://connect.pivotal.io/OSS_Webinar_SecurityforMicroserviceswithSpringandOAuth2_10AM_Register.html"&gt;Register&lt;/a&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Webinar Replay: Why I Recommend Spring</title>
<link rel="alternate" href="https://spring.io/blog/2014/09/26/webinar-replay-why-i-recommend-spring" />
<category term="news" label="News and Events" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-09-26:1773</id>
<updated>2014-09-26T14:03:00Z</updated>
<content type="html">&lt;p&gt;Speaker: Michael Plod&lt;/p&gt;
&lt;p&gt;Slides: &lt;a href="https://speakerdeck.com/mploed/pivotal-webinar-why-do-i-recommend-spring"&gt;https://speakerdeck.com/mploed/pivotal-webinar-why-do-i-recommend-spring&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is Spring the new legacy as quite a few people tell you on their blogs? I disagree on many levels. Throughout this session I will holistically detail without any polemics why I do recommend using the Spring Framework and its ecosystem. Aspects that will be covered include: operational impacts, ecosystem, coding and road maps. This presentation is aimed at IT managers, Architects and Developers alike.&lt;/p&gt;
&lt;p&gt;Learn more about Spring IO: &lt;a href="http://spring.io"&gt;http://spring.io&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Learn more about Spring IO Platform: &lt;a href="http://spring.io/platform"&gt;http://spring.io/platform&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;iframe width="420" height="315" src="//www.youtube.com/embed/z1rpWpSKtT8" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;</content>
</entry>
<entry>
<title>Webinar Replay: Process Driven Spring Applications with Activiti</title>
<link rel="alternate" href="https://spring.io/blog/2014/09/26/webinar-replay-process-driven-spring-applications-with-activiti" />
<category term="news" label="News and Events" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-09-26:1772</id>
<updated>2014-09-26T13:56:00Z</updated>
<content type="html">&lt;p&gt;Speakers: Josh Long and Joram Barrez, Activiti &lt;/p&gt;
&lt;p&gt;Slides: &lt;a href="https://speakerdeck.com/joshlong/process-driven-applications-with-spring-boot"&gt;https://speakerdeck.com/joshlong/process-driven-applications-with-spring-boot&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Today's applications are complex, distributed systems that - taken together - produce results. Tracking the flow of work through that system, however, becomes increasingly more painful as automated- and human-driven tasks are integrated into business processes. Business can't react to what it can't see. Business can't measure what it can't see. "Workflow" describes the sequence of processes through which a piece of work passes from initiation to completion. Workflow systems, like Activiti, describe and then execute these processes. Activiti is an open-source, Apache 2-licensed workflow engine that works with Spring and Spring Boot. In this webinar, join Spring Developer Advocate Josh Long and Activiti-ninja Joram Barrez for a look at how to distill, describe and reuse complex business processes using Spring (and Spring Boot) and Activiti. &lt;/p&gt;
&lt;p&gt;Learn more about Spring Boot: &lt;a href="http://projects.spring.io/spring-boot"&gt;http://projects.spring.io/spring-boot&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Learn more about Activiti below! &lt;/p&gt;
&lt;p&gt;Activiti project page: &lt;a href="http://activiti.org/"&gt;http://activiti.org/&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Joram's blog: &lt;a href="http://jorambarrez.com/blog"&gt;http://jorambarrez.com/blog&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Activiti documentation: &lt;a href="http://activiti.org/userguide/index.html"&gt;http://activiti.org/userguide/index.html&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Activiti Github: &lt;a href="https://github.com/Activiti/Activiti"&gt;https://github.com/Activiti/Activiti&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;iframe width="420" height="315" src="//www.youtube.com/embed/0PV_8Lew3vg" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;</content>
</entry>
<entry>
<title>Pivotal at JavaOne 2014</title>
<link rel="alternate" href="https://spring.io/blog/2014/09/26/pivotal-at-javaone-2014" />
<category term="news" label="News and Events" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-09-25:1770</id>
<updated>2014-09-26T05:56:00Z</updated>
<content type="html">&lt;p&gt;Are you heading to JavaOne 2014?   If you are, we invite all of the Java community members to stop by the Pivotal Booth (Booth Number 5201) and talk to Pivotal engineers about the latest innovations in Java SE, in Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Cloud Foundry and Hadoop. The exhibit space is open Monday, Tuesday from 9:30am 5:30pm, and Wednesday from 9:30am to 4:30pm, so there should be plenty of time to get your questions answered.  See below for a map and booth details about our giveaways - come find us!  Lots of great stuff at the booth.&lt;/p&gt;
&lt;p&gt;Pivotal technologists are also presenting a lot of sessions as well so be sure to add the following talks to your session builder and reserve a seat:&lt;br&gt;
            &lt;br&gt;
Josh Long — Spring advocate at Pivotal&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3868&amp;amp;tclass=popup" target="_blank"&gt;The Spring BOF [BOF3868]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3693&amp;amp;tclass=popup" target="_blank"&gt;Spring 4TW! [CON3693]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Cornelia Davis — Platform Engineer at Pivotal&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=4327&amp;amp;tclass=popup" target="_blank"&gt;Running Your Spring Apps in the Cloud [CON4327]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;John Field — Solutions Architect at Pivotal&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3478&amp;amp;tclass=popup" target="_blank"&gt;Open Source Identity and Access Management Expert Panel, Part 3 [BOF3478]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3479&amp;amp;tclass=popup" target="_blank"&gt;The Anatomy of a Secure Web Application Using Java [CON3479]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Guillaume Laforge — Groovy project manager at Pivotal&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=2939&amp;amp;tclass=popup" target="_blank"&gt;Script Bowl 2014: The Battle Rages On [CON2939]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=5996&amp;amp;tclass=popup" target="_blank"&gt;Groovy in 2014 and Beyond [CON5996]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=5839&amp;amp;tclass=popup" target="_blank"&gt;Groovy in the Light of Java 8 [CON5839]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Martin Lippert - Principal Software Engineer at Pivotal&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=1739&amp;amp;tclass=popup" target="_blank"&gt;Connecting the Eclipse IDE to the Cloud-Based Era of Developer Tooling [CON1739]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Oliver Gierke - Spring Data Project Lead at Pivotal&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=6071&amp;amp;tclass=popup" target="_blank"&gt;REST Assured: Hypermedia APIs with Spring MVC [CON6071]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Cédric Champeau — Senior software engineer in the Groovy team at Pivotal&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=2425&amp;amp;tclass=popup" target="_blank"&gt;Rethinking API Design with Groovy Traits [CON2425]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Interesting non-Pivotal Sessions&lt;/p&gt;
&lt;p&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=1764" target="_blank"&gt;Groovy and Grails Puzzlers: As Usual—Traps, Pitfalls, and End Cases[CON1764]&lt;/a&gt; &lt;br&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=4952" target="_blank"&gt;Microservices on the JVM: A Practical Overview [CON4952]&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=9447" target="_blank"&gt;Use Java, the Spring Framework, and Oracle Tuxedo to Extend Existing C/C++/COBOL Apps[HOL9447]&lt;/a&gt; &lt;br&gt;&lt;/p&gt;&lt;p&gt;Visit us at the booth for technical expert conversations on Cloud Foundry, Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Hadoop and much more. We'll have great demos in the booth about:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt; Java EE and PaaS with &lt;a href="http://www.pivotal.io/platform-as-a-service/pivotal-cf"&gt;Cloud Foundry&lt;/a&gt; via JBoss and WebLogic Buildpack demos&lt;/li&gt;
&lt;li&gt;Internet of Things, Hadoop with &lt;a href="http://projects.spring.io/spring-xd"&gt;Spring XD&lt;/a&gt; Demos&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://microservices.io"&gt;Microservice Architecture&lt;/a&gt; and &lt;a href="http://www.pivotal.io/platform-as-a-service/pivotal-cf"&gt;PaaS&lt;/a&gt; with &lt;a href="http://projects.spring.io/spring-boot"&gt;Spring Boot&lt;/a&gt;, &lt;a href="http://projects.spring.io/spring-cloud"&gt;Spring Cloud&lt;/a&gt; Demos&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&lt;a href="http://run.pivotal.io"&gt;Pivotal Web Services&lt;/a&gt; Hoodie Push!  &lt;a href="https://spring.io/guides/gs/rest-service/"&gt;Build a REST service with Spring Boot&lt;/a&gt;, push it live to run.pivotal.io and get a hoodie!  You can do it ahead of time, and show it running to us, or use our laptops at the booth. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" target="_blank"&gt;&lt;img border="0" width="215" height="254" src="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" style="max-width:100%;"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Save the date for SpringOne2GX 2015!  We hope you will mark your calendar and join us again! SpringOne2GX 2015 will be held September 14 - 17, 2015 at the Marriott Marquis in Washington DC.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/javaone_booth_pivotal.PNG" target="_blank"&gt;&lt;img border="0" width="624" height="398" src="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/javaone_booth_pivotal.PNG" style="max-width:100%;"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/pieterhumphrey/springio_website_images/blob/master/javaone_booth_pivotal2.PNG" target="_blank"&gt;&lt;img src="https://github.com/pieterhumphrey/springio_website_images/raw/master/javaone_booth_pivotal2.PNG" width="577" height="441" style="max-width:100%;"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Spring Boot 1.1.7 released</title>
<link rel="alternate" href="https://spring.io/blog/2014/09/26/spring-boot-1-1-7-released" />
<category term="releases" label="Releases" />
<author>
<name>Phil Webb</name>
</author>
<id>tag:spring.io,2014-09-26:1771</id>
<updated>2014-09-26T04:56:15Z</updated>
<content type="html">&lt;p&gt;Spring Boot 1.1.7 has been released and is available now from &lt;a href="http://repo.spring.io/release"&gt;repo.spring.io&lt;/a&gt; and &lt;a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.springframework.boot%22"&gt;Maven Central&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;This maintenance release is a recommended upgrade for all Spring Boot users. For a complete list of changes please refer to the &lt;a href="https://github.com/spring-projects/spring-boot/issues?q=milestone%3A1.1.7"&gt;issue tracker&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://projects.spring.io/spring-boot/"&gt;Project Page&lt;/a&gt; | &lt;a href="https://github.com/spring-projects/spring-boot"&gt;GitHub&lt;/a&gt; | &lt;a href="https://github.com/spring-projects/spring-boot/issues"&gt;Issues&lt;/a&gt; | &lt;a href="http://docs.spring.io/spring-boot/docs/1.1.7.RELEASE/reference/htmlsingle"&gt;Documentation&lt;/a&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Demo: IoT Realized with Spring XD - The Connected Car</title>
<link rel="alternate" href="https://spring.io/blog/2014/09/24/demo-iot-realized-with-spring-xd-the-connected-car" />
<category term="engineering" label="Engineering" />
<author>
<name>Pieter Humphrey</name>
</author>
<id>tag:spring.io,2014-09-25:1769</id>
<updated>2014-09-24T20:59:00Z</updated>
<content type="html">&lt;p&gt;Speaker: Derek Beauregard
Contributors: Phil Berman, Darrel Sharpe, Michael Minella
In this demo we will explore the power of Spring XD in the context of the Internet of Things (IoT). We will look at a solution developed with Spring XD to stream real time analytics from a moving car using open standards. Ingestion of the real time data (location, speed, engine diagnostics, etc), analyzing it to provide highly accurate MPG and vehicle range prediction, as well as providing real time dashboards will all be covered. Watch this demo to get a sense of how Spring XD can serve as a critical building block for the IoT.&lt;/p&gt;
&lt;iframe width="420" height="315" src="//www.youtube.com/embed/qkm2GV57hzY" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;</content>
</entry>
</feed>

View File

@ -1,291 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>SpringSource Tool Suites Updates</title>
<link>http://www.springsource.com/products/sts</link>
<description>This feeds imforms about important updates relevant to users of STS.</description>
<generator>Feeder 2.0.7(1195) http://reinventedsoftware.com/feeder/</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<language>en-us</language>
<managingEditor>sts@springsource.com</managingEditor>
<pubDate>Mon, 13 Oct 2014 10:38:33 +0100</pubDate>
<lastBuildDate>Mon, 13 Oct 2014 10:38:33 +0100</lastBuildDate>
<atom:link href="http://dist.springsource.com.s3.amazonaws.com/release/STS/doc/updates.xml" rel="self" type="application/rss+xml"/>
<!-- <item>
<title>Thanks for installing STS/GGTS 3.6.0.M1</title>
<link>http://static.springsource.org/sts/nan/v360/NewAndNoteworthy-M1.html</link>
<description><![CDATA[<form><p><a href="http://gopivotal.com">Pivotal</a> has released the first milestone build of the upcoming next version of
the Spring Tool Suite (STS) and the Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy and Grails powered enterprise application.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://static.springsource.org/sts/nan/v360/NewAndNoteworthy-M1.html">3.6.0.M1 New &amp; Noteworthy</a></li><p></p></form>]]></description>
<pubDate>Thu, 29 May 2014 12:13:33 +0100</pubDate>
<category>version=[3.6.0.201405280524-M1,3.7.0)</category>
<category>severity=important</category>
<guid isPermaLink="false">thanks-for-installing-sts-360m1</guid>
</item>
<item>
<title>STS/GGTS 3.6.0.M1 has been released</title>
<link>http://static.springsource.org/sts/nan/v360/NewAndNoteworthy-M1.html</link>
<description><![CDATA[<form><p><a href="http://gopivotal.com">Pivotal</a> has released the first milestone build of the upcoming next version of
the Spring Tool Suite (STS) and the Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy and Grails powered enterprise application.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://static.springsource.org/sts/nan/v360/NewAndNoteworthy-M1.html">3.6.0.M1 New &amp; Noteworthy</a></li><p></p></form>]]></description>
<pubDate>Thu, 29 May 2014 12:12:33 +0100</pubDate>
<category>version=[0,3.6.0.201405280524-M1)</category>
<category>severity=important</category>
<guid isPermaLink="false">sts-360m1-released</guid>
</item>
-->
<item>
<title>Thanks for installing STS/GGTS 3.6.2</title>
<link>http://spring.io/tools</link>
<description><![CDATA[<form><p><a href="http://gopivotal.com">Pivotal</a> has released an update to Spring Tool Suite (STS) and Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy, and Grails powered enterprise application.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://static.springsource.org/sts/nan/v362/NewAndNoteworthy.html">3.6.2 New &amp; Noteworthy</a></li><p></p></form>]]></description>
<pubDate>Mon, 13 Oct 2014 12:13:33 +0100</pubDate>
<category>version=[3.6.2.201410090827-RELEASE,3.6.3)</category>
<!-- <category>severity=important</category>-->
<guid isPermaLink="false">thanks-for-installing-sts-362</guid>
</item>
<item>
<title>STS/GGTS 3.6.2 has been released</title>
<link>http://spring.io/tools</link>
<description><![CDATA[<form><p><a href="http://gopivotal.com">Pivotal</a> has released an update to Spring Tool Suite (STS) and Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy, and Grails powered enterprise application.</p><p>It is recommend to update as soon as possible.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://static.springsource.org/sts/nan/v362/NewAndNoteworthy.html">3.6.2 New &amp; Noteworthy</a></li><p></p></form>]]></description>
<pubDate>Mon, 13 Oct 2014 12:12:33 +0100</pubDate>
<category>version=[0,3.6.2.201410090827-RELEASE)</category>
<category>severity=important</category>
<guid isPermaLink="false">sts-362-released</guid>
</item>
<!--
<item>
<title>Thanks for installing STS/GGTS 3.4.0</title>
<link>http://spring.io/tools</link>
<description><![CDATA[<form><p><a href="http://gopivotal.com">Pivotal</a> has released an update to Spring Tool Suite (STS) and Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy, and Grails powered enterprise application.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://static.springsource.org/sts/nan/v340/NewAndNoteworthy.html">3.4.0 New &amp; Noteworthy</a></li><p></p></form>]]></description>
<pubDate>Tue, 08 Oct 2013 12:13:33 +0100</pubDate>
<category>version=[3.4.0.201310051510-RELEASE,3.5.0)</category>
<category>severity=important</category>
<guid isPermaLink="false">thanks-for-installing-sts-340</guid>
</item>
<item>
<title>STS/GGTS 3.4.0 has been released</title>
<link>http://spring.io/tools</link>
<description><![CDATA[<form><p><a href="http://gopivotal.com">Pivotal</a> has released an update to Spring Tool Suite (STS) and Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy, and Grails powered enterprise application.</p><p>It is recommend to update as soon as possible. Users of STS 2.9.x or previous versions should start with a fresh install of STS/GGTS 3.4.0.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://static.springsource.org/sts/nan/v340/NewAndNoteworthy.html">3.4.0 New &amp; Noteworthy</a></li><p></p></form>]]></description>
<pubDate>Tue, 08 Oct 2013 12:12:33 +0100</pubDate>
<category>version=[0,3.4.0.201310051510-RELEASE)</category>
<category>severity=important</category>
<guid isPermaLink="false">sts-340-released</guid>
</item>
-->
<item>
<title>Cloud Foundry Eclipse 1.7.1 released</title>
<link>http://www.cloudfoundry.com</link>
<description><![CDATA[<form><p><a href="http://pivotal.io">Pivotal</a> has released Cloud Foundry Eclipse version 1.7.1 which features various application deployment and home page navigation improvements, and a new Cloud Routes wizard for browsing and deleting application routes. Java 7 is a required Execution Environment.</p></form>]]></description>
<pubDate>Tue, 16 Sep 2014 10:38:33 +0100</pubDate>
<!-- <category>version=2.9.0</category> -->
<!-- <category>severity=important</category> -->
<category>bundle=!org.cloudfoundry.ide.eclipse.feature.group</category>
<guid isPermaLink="false">cloud-foundry-integration-171-released</guid>
</item>
<!--
<item>
<title>Cloud Foundry Integration for Eclipse 1.3.0 released</title>
<link>http://www.cloudfoundry.com</link>
<description><![CDATA[<form><p><a href="http://springsource.com">SpringSource</a> has released the fifth release of the Eclipse integration for VMware<a href="http://www.cloudfoundry.com">Cloud Foundry</a>, including support for Micro Cloud Foundry, incremental update performance improvements and debugging support for Java/Spring applications running on Micro Cloud Foundry, using tunnels to services directly from within your IDE, and the new support for standalone applications.</p>
<p>Cloud Foundry is the industry's first open platform as a service. Run your Spring, Rails and Node.js applications. Deploy from your IDE or command line.</p>
<li bindent="3"><a href="http://docs.cloudfoundry.com/tools/STS/sts-eclipse.html">Getting Started with Eclipse/STS and Cloud Foundry</a></li>
<li bindent="3"><a href="https://github.com/SpringSource/eclipse-integration-cloudfoundry">Cloud Foundry Integration for Eclipse at GitHub</a></li>
<li bindent="3"><a href="http://start.cloudfoundry.com/getting-started.html">Getting Started with Cloud Foundry</a></li>
<li bindent="3"><a href="http://forum.springsource.org/forumdisplay.php?f=32">Community support forum</a></li><p></p></form>]]></description>
<pubDate>Fri, 12 Oct 2012 10:38:33 +0100</pubDate>
<category>version=2.9.0</category>
<category>severity=important</category>
<category>bundle=!org.cloudfoundry.ide.eclipse.feature.group</category>
<guid isPermaLink="false">cloud-foundry-integration-130-released</guid>
</item>
-->
<!--
<item>
<title>Cloud Foundry Integration for Eclipse 1.0 released</title>
<link>http://www.cloudfoundry.com</link>
<description><![CDATA[<form><p><a href="http://springsource.com">SpringSource</a> has just released the first release of the Eclipse integration for VMware<a href="http://www.cloudfoundry.com">Cloud Foundry</a>, including support for Micro Cloud Foundry, incremental update performance improvements and debugging support for Java/Spring applications running on Micro Cloud Foundry.</p>
<p>Cloud Foundry is the industry's first open platform as a service. Run your Spring, Rails and Node.js applications. Deploy from your IDE or command line.</p>
<li bindent="3"><a href="http://start.cloudfoundry.com/getting-started.html">Getting Started with Cloud Foundry</a></li>
<li bindent="3"><a href="http://www.youtube.com/watch?v=XcI-2V-mmmw">On Youtube: Getting Started with STS and Cloud Foundry</a></li>
<li bindent="3"><a href="http://forum.springsource.org/forumdisplay.php?f=32">Community support forum</a></li><p></p></form>]]></description>
<pubDate>Fri, 23 Mar 2012 10:38:33 +0100</pubDate>
<category>version=2.9.0</category>
<category>severity=important</category>
<category>bundle=!org.cloudfoundry.ide.eclipse.feature.group</category>
<guid isPermaLink="false">cloud-foundry-integration-100-released</guid>
</item>
-->
<!--
<item>
<title>Cloud Foundry support now available</title>
<link>http://www.cloudfoundry.com</link>
<description><![CDATA[<form><p><a href="http://springsource.com">SpringSource</a> has just released Eclipse support for VMware<a href="http://www.cloudfoundry.com">Cloud Foundry</a>.</p>
<p>Cloud Foundry is the industry's first open platform as a service. Run your Spring, Rails and Node.js applications. Deploy from your IDE or command line.</p>
<li bindent="3"><a href="http://dist.springsource.com/release/STS/doc/STS-cloud_foundry.pdf">Documentation for the Eclipse support</a></li>
<li bindent="3"><a href="http://forum.springsource.org/forumdisplay.php?f=32">Community support forum</a></li><p></p></form>]]></description>
<pubDate>Tue, 12 Apr 2011 10:38:33 +0100</pubDate>
<category>version=2.5.1</category>
<category>severity=important</category>
<category>bundle=!com.cloudfoundry.sts.server.feature.group</category>
<guid isPermaLink="false">cloud-foundry-support-m1-released</guid>
</item>
-->
<item>
<title>Patch released to fix a Xerces classloading issue</title>
<link>https://issuetracker.springsource.com/browse/STS-1672</link>
<description><![CDATA[<form><p><a href="http://springsource.com">SpringSource</a> has just published a patch to fix a severe issue in STS that causes parsing of Spring XML files to fail with a Xerces classloading issue.</p><p>It is recommend to update as soon as possible. The feature patch is available from the STS Dashboard -> Extensions tab.</p>
<p>Get to get more details about the issue please read the following bug entries:</p>
<li bindent="3"><a href="https://issuetracker.springsource.com/browse/STS-1672">Issue in the STS JIRA</a></li>
<li bindent="3"><a href="http://forum.springsource.org/showthread.php?t=105729">Community forum discussion</a></li><p>We apologize that this patch did not make it into the 2.6.0 release of STS.</p></form>]]></description>
<pubDate>Mon, 21 Mar 2011 10:38:33 +0100</pubDate>
<category>version=[2.6.0.201103160035-RELEASE,2.7.0.201105101000-M1)</category>
<category>severity=important</category>
<category>bundle=!org.springframework.ide.eclipse.patch.feature.feature.group</category>
<guid isPermaLink="false">patch-STS1672-released</guid>
</item>
<!-- <item>
<title>Patch released to fix bug in Eclipse WTP</title>
<link>https://bugs.eclipse.org/bugs/show_bug.cgi?id=327801</link>
<description><![CDATA[<form><p><a href="http://springsource.com">SpringSource</a> has just published a patch to fix a severe issue in Eclipse WTP that causes complete UI freezes on restarts.</p><p>It is recommend to update as soon as possible. The feature patch is available from the STS Dashboard -> Extensions tab.</p>
<p>Get to get more details about the issue please read the following bug entries:</p>
<li bindent="3"><a href="https://issuetracker.springsource.com/browse/STS-1456">Issue in the STS JIRA</a></li>
<li bindent="3"><a href="https://issues.sonatype.org/browse/MECLIPSEWTP-62">Issue in M2Eclipse JIRA</a></li>
<li bindent="3"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327801">Issue in Eclipse' bugzilla</a></li><p>We apologize that this patch did not make it into the 2.5.2 release of STS.</p></form>]]></description>
<pubDate>Tue, 11 Jan 2011 10:38:33 +0100</pubDate>
<category>version=[2.5.1,2.6.0.201102251000-M2)</category>
<category>severity=important</category>
<category>bundle=!org.eclipse.wst.common_core.feature.patch_327801.feature.group</category>
<guid isPermaLink="false">patch-327801-released</guid>
</item>
-->
<!-- <item>
<title>VMforce announced - Cloud for Java</title>
<link>http://www.springsource.org/node/2504</link>
<description><![CDATA[<form><p>Today <a href="http://www.vmware.com">VMware</a> announced a new enterprise Platform as a Service (PaaS), VMforce, that is designed to run Spring-based applications. Rod Johnson provides an explanation about the technology in his latest <a href="http://blog.springsource.com/2010/04/27/vmforce-spring-cloud/">blog post</a> and Steve Herrod talks about the <a href="http://blogs.vmware.com/console/2010/04/vmforce-and-vmwares-open-paas-strategy.html">VMware PaaS vision</a>.</p><p>VMforce will be available for developer preview in the second half of this year.</p><p>Make sure to check out the <a href="http://www.springsource.org/node/2504">video</a> of the announcement.</p></form>]]></description>
<pubDate>Wed, 28 Apr 2010 10:00:33 +0100</pubDate>
<category>version=2.3.2</category>
<category>severity=important</category>
<guid isPermaLink="false">understanding-vmforce</guid>
</item>-->
<!-- <item>
<title>Thanks for installing STS 2.5.2.SR1</title>
<link>http://www.springsource.com/products/sts</link>
<description><![CDATA[<form><p><a href="http://springsource.com">SpringSource</a> has released an update to SpringSource Tool Suite (STS), the best Eclipse-powered development environment for building Spring, Groovy and Grails powered enterprise application.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-new_and_noteworthy.pdf">New &amp; Noteworthy</a></li>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-feature_comparison.pdf">Feature Comparison</a></li><p></p></form>]]></description>
<pubDate>Mon, 28 Feb 2011 10:36:33 +0100</pubDate>
<category>version=[2.5.2.201102261000-SR1,2.6.0.201101271000-M1)</category>
<category>severity=important</category>
<guid isPermaLink="false">thanks-for-installing-sts-252sr1</guid>
</item>
<item>
<title>STS 2.5.2.SR1 has been released</title>
<link>http://www.springsource.com/products/sts</link>
<description><![CDATA[<form><p><a href="http://springsource.com">SpringSource</a> has released an update to SpringSource Tool Suite (STS), the best Eclipse-powered development environment for building Spring, Groovy and Grails powered enterprise application.</p><p>It is recommend to update as soon as possible.</p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-new_and_noteworthy.pdf">New &amp; Noteworthy</a></li>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-feature_comparison.pdf">Feature Comparison</a></li><p></p></form>]]></description>
<pubDate>Mon, 28 Feb 2011 10:37:33 +0100</pubDate>
<category>version=[0,2.5.2.201102261000-SR1)</category>
<category>severity=important</category>
<guid isPermaLink="false">sts-252sr1-released</guid>
</item> -->
<!-- <item>
<title>STS 2.5.0.RELEASE will be released soon</title>
<link>http://www.springsource.com/products/sts</link>
<description><![CDATA[<form><p><a href="http://springide.org">SpringSource</a> will release an update to SpringSource Tool Suite (STS), the best Eclipse-powered development environment for building Spring, Groovy and Grails powered enterprise application. It is recommended to update to this version as soon as possible. </p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-new_and_noteworthy.pdf">New &amp; Noteworthy</a></li>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-feature_comparison.pdf">Feature Comparison</a></li><p></p></form>]]></description>
<pubDate>Sun, 24 Oct 2010 10:10:33 +0100</pubDate>
<category>version=[0,2.5.0.201010241000-RELEASE)</category>
<category>severity=important</category>
<guid isPermaLink="false">sts-250GA-released</guid>
</item>-->
<!-- <item>
<title>Spring Roo 1.1.0 - now available from the Extension install</title>
<link>http://www.springsource.org/node/2399</link>
<description><![CDATA[<form><p>The STS extension install has been updated to provide access to the GA release of Spring Roo 1.0.2. To install Roo 1.0.2 into your STS installation click the 'Extension' tab from below and select the 'Spring Roo' entry for installation.</p><p>If you previously installed Roo from the Extension Install please select 'Find Updates' instead.</p></form>]]></description>
<pubDate>Mon, 25 Oct 2010 10:00:33 +0100</pubDate>
<category>version=2.3.1</category>
<category>severity=important</category>
<guid isPermaLink="false">extension-install-updated</guid>
</item>
<item>
<title>Spring Roo 1.0.2 - now available from the Extension install</title>
<link>http://www.springsource.org/node/2399</link>
<description><![CDATA[<form><p>The STS extension install has been updated to provide access to the GA release of Spring Roo 1.0.2. To install Roo 1.0.2 into your STS installation click the 'Extension' tab from below and select the 'Spring Roo' entry for installation.</p><p>If you previously installed Roo use 'Help -> Check for Updates' instead.</p></form>]]></description>
<pubDate>Sun, 21 Feb 2010 16:45:32 +0100</pubDate>
<category>version=[0,2.3.1)</category>
<category>severity=important</category>
<guid isPermaLink="false">extension-install-updated</guid>
</item>-->
<!-- <item>
<title>Groovy-Eclipse 2.0.0 is final</title>
<link>http://docs.codehaus.org/display/GROOVY/Groovy-Eclipse+2.0.0+New+and+Noteworthy</link>
<description><![CDATA[<form><p>SpringSource is proud to announce the release of Groovy-Eclipse 2.0.0.</p><p>This version has much improved support for incremental, cross-language compilation and also comes with lots of improvements for editing Groovy code. A full list of features and bug fixes is available in the <a href="http://docs.codehaus.org/display/GROOVY/Groovy-Eclipse+2.0.0+New+and+Noteworthy">New &amp; Noteworthy</a>.</p>
<p>The STS extension install has been updated to provide access to the GA release of Groovy-Eclipse 2.0.0.</p></form>]]></description>
<pubDate>Fri, 15 Jan 2010 16:45:31 +0100</pubDate>
<category>version=2.3.0</category>
<category>severity=important</category>
<guid isPermaLink="false">groovy-eclipse-2-0-0-is-final</guid>
</item>-->
<!-- <item>
<title>Spring Roo 1.0.0 - now available from the Extension install</title>
<link>http://www.springsource.org/node/2273</link>
<description><![CDATA[<form><p>The STS extension install has been updated to provide access to the GA release of Spring Roo 1.0.0. To install Roo 1.0.0 into your STS installation click the 'Extension' tab from below and select the 'Spring Roo' entry for installation.</p><p>If you want to learn more about the release, check out Ben Alex's recent <a href="http://blog.springsource.com/2009/12/31/spring-roo-1-0-0-released/">blog post</a>.</p></form>]]></description>
<pubDate>Thu, 31 Dec 2009 16:45:31 +0100</pubDate>
<category>version=2.3.0</category>
<category>severity=important</category>
<guid isPermaLink="false">extension-install-updated</guid>
</item>-->
<!-- <item>
<title>Thanks for installing STS 2.3.0</title>
<link>http://www.springsource.org/node/2172</link>
<description><![CDATA[<form><p><a href="http://springide.org">SpringSource</a> has released an update to SpringSource Tool Suite (STS), the best Eclipse-powered development environment for building Spring, Groovy and Grails powered enterprise application. It is recommended to update to this version as soon as possible. </p>
<p>Please review the following documents:</p>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-new_and_noteworthy-2.3.0.RELEASE.pdf">New &amp; Noteworthy</a></li>
<li bindent="3"><a href="http://download.springsource.com/release/STS/doc/STS-feature_comparison-2.3.0.RELEASE.pdf">Feature Comparison</a></li>
</form>]]></description>
<pubDate>Thu, 17 Dec 2009 21:45:31 +0100</pubDate>
<category>version=2.3.0</category>
<guid isPermaLink="false">thanks-for-installing-sts-230</guid>
</item>-->
<!-- <item>
<title>Spring Framework 3.0</title>
<link>http://blog.springsource.com/2009/12/16/spring-framework-3-0-goes-ga/</link>
<description><![CDATA[<form><p>The SpringSource team is proud to announce the release of Spring 3.0. There are lots of new features and enhancements in this new version, so make sure to download Spring 3.0 and try it out.</p>
<p><a href="http://www.springsource.com/download/community">Download</a> | <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/">Documentation</a> | <a href="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/">Javadoc API</a> | <a href="http://static.springsource.org/spring/docs/3.0.0.RELEASE/changelog.txt">Change Log</a> | <a href="http://jira.springframework.org/browse/SPR">JIRA</a></p></form>]]></description>
<pubDate>Wed, 16 Dec 2009 21:45:52 +0100</pubDate>
<category>version=2.1.0</category>
<category>severity=important</category>
<guid isPermaLink="false">spring-framework-30</guid>
</item>-->
<!-- <item>
<title>STS is Cloud Foundry Ready</title>
<link>http://blog.springsource.com/2009/11/10/cloud-foundry-integrated-into-developer-tools/</link>
<description><![CDATA[<form><p>With the latest version, you can access SpringSource Cloud Foundry right from within STS and deploy your Spring, Grails and Roo applications to the cloud. Give it a try!</p></form>]]></description>
<pubDate>Tue, 01 Dec 2009 21:45:52 +0100</pubDate>
<category>version=2.1.0</category>
<guid isPermaLink="false">sts-is-cloud-foundry-ready</guid>
</item>-->
</channel>
</rss>

View File

@ -1 +0,0 @@
org.eclipse.core.runtime=1

View File

@ -9,3 +9,5 @@
- [Example of Hill Climbing Algorithm](http://www.baeldung.com/java-hill-climbing-algorithm)
- [Monte Carlo Tree Search for Tic-Tac-Toe Game](http://www.baeldung.com/java-monte-carlo-tree-search)
- [String Search Algorithms for Large Texts](http://www.baeldung.com/java-full-text-search-algorithms)
- [Test a Linked List for Cyclicity](http://www.baeldung.com/java-linked-list-cyclicity)
- [Binary Search Algorithm in Java](http://www.baeldung.com/java-binary-search)

View File

@ -0,0 +1,38 @@
package com.baeldung.algorithms.bubblesort;
import java.util.stream.IntStream;
public class BubbleSort {
void bubbleSort(Integer[] arr) {
int n = arr.length;
IntStream.range(0, n - 1)
.flatMap(i -> IntStream.range(i + 1, n - i))
.forEach(j -> {
if (arr[j - 1] > arr[j]) {
int temp = arr[j];
arr[j] = arr[j - 1];
arr[j - 1] = temp;
}
});
}
void optimizedBubbleSort(Integer[] arr) {
int i = 0, n = arr.length;
boolean swapNeeded = true;
while (i < n - 1 && swapNeeded) {
swapNeeded = false;
for (int j = i + 1; j < n - i; j++) {
if (arr[j - 1] > arr[j]) {
int temp = arr[j - 1];
arr[j - 1] = arr[j];
arr[j] = temp;
swapNeeded = true;
}
}
if (!swapNeeded)
break;
i++;
}
}
}

View File

@ -0,0 +1,26 @@
package com.baeldung.algorithms.bubblesort;
import static org.junit.Assert.*;
import org.junit.Test;
public class BubbleSortTest {
@Test
public void givenIntegerArray_whenSortedWithBubbleSort_thenGetSortedArray() {
Integer[] array = { 2, 1, 4, 6, 3, 5 };
Integer[] sortedArray = { 1, 2, 3, 4, 5, 6 };
BubbleSort bubbleSort = new BubbleSort();
bubbleSort.bubbleSort(array);
assertArrayEquals(array, sortedArray);
}
@Test
public void givenIntegerArray_whenSortedWithOptimizedBubbleSort_thenGetSortedArray() {
Integer[] array = { 2, 1, 4, 6, 3, 5 };
Integer[] sortedArray = { 1, 2, 3, 4, 5, 6 };
BubbleSort bubbleSort = new BubbleSort();
bubbleSort.optimizedBubbleSort(array);
assertArrayEquals(array, sortedArray);
}
}

View File

@ -1,32 +1,19 @@
package com.baeldung.examples.asm.instrumentation;
import com.baeldung.examples.asm.CustomClassWriter;
import java.lang.instrument.ClassFileTransformer;
import java.lang.instrument.IllegalClassFormatException;
import java.lang.instrument.Instrumentation;
import java.security.ProtectionDomain;
/**
*
* @author baeldung
*/
import java.lang.instrument.Instrumentation;
public class Premain {
public static void premain(String agentArgs, Instrumentation inst) {
inst.addTransformer(new ClassFileTransformer() {
inst.addTransformer((l, name, c, d, b) -> {
@Override
public byte[] transform(ClassLoader l, String name, Class c,
ProtectionDomain d, byte[] b)
throws IllegalClassFormatException {
if (name.equals("java/lang/Integer")) {
CustomClassWriter cr = new CustomClassWriter(b);
return cr.addField();
}
return b;
if (name.equals("java/lang/Integer")) {
CustomClassWriter cr = new CustomClassWriter(b);
return cr.addField();
}
return b;
});
}
}

24
cas-secured-app/.gitignore vendored Normal file
View File

@ -0,0 +1,24 @@
target/
!.mvn/wrapper/maven-wrapper.jar
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
nbproject/private/
build/
nbbuild/
dist/
nbdist/
.nb-gradle/

Binary file not shown.

View File

@ -0,0 +1 @@
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip

225
cas-secured-app/mvnw vendored Normal file
View File

@ -0,0 +1,225 @@
#!/bin/sh
# ----------------------------------------------------------------------------
# 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.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Maven2 Start Up Batch script
#
# Required ENV vars:
# ------------------
# JAVA_HOME - location of a JDK home dir
#
# Optional ENV vars
# -----------------
# M2_HOME - location of maven2's installed home dir
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
# e.g. to debug Maven itself, use
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
# ----------------------------------------------------------------------------
if [ -z "$MAVEN_SKIP_RC" ] ; then
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "$HOME/.mavenrc" ] ; then
. "$HOME/.mavenrc"
fi
fi
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
mingw=false
case "`uname`" in
CYGWIN*) cygwin=true ;;
MINGW*) mingw=true;;
Darwin*) darwin=true
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
if [ -z "$JAVA_HOME" ]; then
if [ -x "/usr/libexec/java_home" ]; then
export JAVA_HOME="`/usr/libexec/java_home`"
else
export JAVA_HOME="/Library/Java/Home"
fi
fi
;;
esac
if [ -z "$JAVA_HOME" ] ; then
if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi
if [ -z "$M2_HOME" ] ; then
## resolve links - $0 may be a link to maven's home
PRG="$0"
# need this for relative symlinks
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done
saveddir=`pwd`
M2_HOME=`dirname "$PRG"`/..
# make it fully qualified
M2_HOME=`cd "$M2_HOME" && pwd`
cd "$saveddir"
# echo Using m2 at $M2_HOME
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --unix "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# For Migwn, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$M2_HOME" ] &&
M2_HOME="`(cd "$M2_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
# TODO classpath?
fi
if [ -z "$JAVA_HOME" ]; then
javaExecutable="`which javac`"
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
# readlink(1) is not available as standard on Solaris 10.
readLink=`which readlink`
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
if $darwin ; then
javaHome="`dirname \"$javaExecutable\"`"
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
else
javaExecutable="`readlink -f \"$javaExecutable\"`"
fi
javaHome="`dirname \"$javaExecutable\"`"
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
JAVA_HOME="$javaHome"
export JAVA_HOME
fi
fi
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD="`which java`"
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." >&2
echo " We cannot execute $JAVACMD" >&2
exit 1
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Warning: JAVA_HOME environment variable is not set."
fi
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
# traverses directory structure from process work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
find_maven_basedir() {
if [ -z "$1" ]
then
echo "Path not specified to find_maven_basedir"
return 1
fi
basedir="$1"
wdir="$1"
while [ "$wdir" != '/' ] ; do
if [ -d "$wdir"/.mvn ] ; then
basedir=$wdir
break
fi
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
if [ -d "${wdir}" ]; then
wdir=`cd "$wdir/.."; pwd`
fi
# end of workaround
done
echo "${basedir}"
}
# concatenates all lines of a file
concat_lines() {
if [ -f "$1" ]; then
echo "$(tr -s '\n' ' ' < "$1")"
fi
}
BASE_DIR=`find_maven_basedir "$(pwd)"`
if [ -z "$BASE_DIR" ]; then
exit 1;
fi
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
echo $MAVEN_PROJECTBASEDIR
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --path --windows "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
fi
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
exec "$JAVACMD" \
$MAVEN_OPTS \
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
"-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

143
cas-secured-app/mvnw.cmd vendored Normal file
View File

@ -0,0 +1,143 @@
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven2 Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
:skipRcPre
@setlocal
set ERROR_CODE=0
@REM To isolate internal variables from possible post scripts, we use another setlocal
@setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto init
echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
@REM ==== END VALIDATION ====
:init
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
set EXEC_DIR=%CD%
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set WDIR=%CD%
goto findBaseDir
:baseDirFound
set MAVEN_PROJECTBASEDIR=%WDIR%
cd "%EXEC_DIR%"
goto endDetectBaseDir
:baseDirNotFound
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
cd "%EXEC_DIR%"
:endDetectBaseDir
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
:endReadAdditionalConfig
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
:skipRcPost
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
exit /B %ERROR_CODE%

110
cas-secured-app/pom.xml Normal file
View File

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<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.baeldung</groupId>
<artifactId>cas-secured-app</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>cas-secured-app</name>
<description>Demo project for Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.BUILD-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-cas</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>

View File

@ -0,0 +1,91 @@
package com.baeldung.cassecuredapp;
import org.jasig.cas.client.session.SingleSignOutFilter;
import org.jasig.cas.client.session.SingleSignOutHttpSessionListener;
import org.jasig.cas.client.validation.Cas30ServiceTicketValidator;
import org.jasig.cas.client.validation.TicketValidator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.context.event.EventListener;
import org.springframework.security.cas.ServiceProperties;
import org.springframework.security.cas.authentication.CasAuthenticationProvider;
import org.springframework.security.cas.web.CasAuthenticationEntryPoint;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.security.web.authentication.logout.LogoutFilter;
import org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler;
import javax.servlet.http.HttpSessionEvent;
@SpringBootApplication
public class CasSecuredAppApplication {
public static void main(String[] args) {
SpringApplication.run(CasSecuredAppApplication.class, args);
}
@Bean
public ServiceProperties serviceProperties() {
ServiceProperties serviceProperties = new ServiceProperties();
serviceProperties.setService("http://localhost:9000/login/cas");
serviceProperties.setSendRenew(false);
return serviceProperties;
}
@Bean
@Primary
public AuthenticationEntryPoint authenticationEntryPoint(ServiceProperties sP) {
CasAuthenticationEntryPoint entryPoint = new CasAuthenticationEntryPoint();
entryPoint.setLoginUrl("https://localhost:8443/cas/login");
entryPoint.setServiceProperties(sP);
return entryPoint;
}
@Bean
public TicketValidator ticketValidator() {
return new Cas30ServiceTicketValidator("https://localhost:8443/cas");
}
@Bean
public CasAuthenticationProvider casAuthenticationProvider() {
CasAuthenticationProvider provider = new CasAuthenticationProvider();
provider.setServiceProperties(serviceProperties());
provider.setTicketValidator(ticketValidator());
provider.setUserDetailsService((s) -> new User("test@test.com", "smatt",
true, true, true, true,
AuthorityUtils.createAuthorityList("ROLE_ADMIN")));
provider.setKey("CAS_PROVIDER_LOCALHOST_9000");
return provider;
}
@Bean
public SecurityContextLogoutHandler securityContextLogoutHandler() {
return new SecurityContextLogoutHandler();
}
@Bean
public LogoutFilter logoutFilter() {
LogoutFilter logoutFilter = new LogoutFilter(
"https://localhost:8443/cas/logout", securityContextLogoutHandler());
logoutFilter.setFilterProcessesUrl("/logout/cas");
return logoutFilter;
}
@Bean
public SingleSignOutFilter singleSignOutFilter() {
SingleSignOutFilter singleSignOutFilter = new SingleSignOutFilter();
singleSignOutFilter.setCasServerUrlPrefix("https://localhost:8443/cas");
singleSignOutFilter.setIgnoreInitConfiguration(true);
return singleSignOutFilter;
}
@EventListener
public SingleSignOutHttpSessionListener singleSignOutHttpSessionListener(HttpSessionEvent event) {
return new SingleSignOutHttpSessionListener();
}
}

View File

@ -0,0 +1,83 @@
package com.baeldung.cassecuredapp.config;
import org.jasig.cas.client.session.SingleSignOutFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.ProviderManager;
import org.springframework.security.cas.ServiceProperties;
import org.springframework.security.cas.authentication.CasAuthenticationProvider;
import org.springframework.security.cas.web.CasAuthenticationFilter;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.security.web.authentication.logout.LogoutFilter;
import java.util.Arrays;
@EnableWebSecurity
@Configuration
public class SecurityConfig extends WebSecurityConfigurerAdapter {
private AuthenticationProvider authenticationProvider;
private AuthenticationEntryPoint authenticationEntryPoint;
private SingleSignOutFilter singleSignOutFilter;
private LogoutFilter logoutFilter;
@Autowired
public SecurityConfig(CasAuthenticationProvider casAuthenticationProvider, AuthenticationEntryPoint eP,
LogoutFilter lF
, SingleSignOutFilter ssF
) {
this.authenticationProvider = casAuthenticationProvider;
this.authenticationEntryPoint = eP;
this.logoutFilter = lF;
this.singleSignOutFilter = ssF;
}
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.regexMatchers("/secured.*", "/login")
.authenticated()
.and()
.authorizeRequests()
.regexMatchers("/")
.permitAll()
.and()
.httpBasic()
.authenticationEntryPoint(authenticationEntryPoint)
.and()
.logout().logoutSuccessUrl("/logout")
.and()
.addFilterBefore(singleSignOutFilter, CasAuthenticationFilter.class)
.addFilterBefore(logoutFilter, LogoutFilter.class);
}
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.authenticationProvider(authenticationProvider);
}
@Override
protected AuthenticationManager authenticationManager() throws Exception {
return new ProviderManager(Arrays.asList(authenticationProvider));
}
@Bean
public CasAuthenticationFilter casAuthenticationFilter(ServiceProperties sP) throws Exception {
CasAuthenticationFilter filter = new CasAuthenticationFilter();
filter.setServiceProperties(sP);
filter.setAuthenticationManager(authenticationManager());
return filter;
}
}

View File

@ -0,0 +1,35 @@
package com.baeldung.cassecuredapp.controllers;
import org.apache.log4j.Logger;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.web.authentication.logout.CookieClearingLogoutHandler;
import org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler;
import org.springframework.security.web.authentication.rememberme.AbstractRememberMeServices;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Controller
public class AuthController {
private Logger logger = Logger.getLogger(AuthController.class);
@GetMapping("/logout")
public String logout(
HttpServletRequest request, HttpServletResponse response, SecurityContextLogoutHandler logoutHandler) {
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
logoutHandler.logout(request, response, auth );
new CookieClearingLogoutHandler(AbstractRememberMeServices.SPRING_SECURITY_REMEMBER_ME_COOKIE_KEY).logout(request, response, auth);
return "auth/logout";
}
@GetMapping("/login")
public String login() {
return "redirect:/secured";
}
}

View File

@ -0,0 +1,15 @@
package com.baeldung.cassecuredapp.controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class IndexController {
@GetMapping("/")
public String index() {
return "index";
}
}

View File

@ -0,0 +1,24 @@
package com.baeldung.cassecuredapp.controllers;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping(value = "/secured")
public class SecuredPageController {
@GetMapping
public String index(ModelMap modelMap) {
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
if( auth != null && auth.getPrincipal() != null
&& auth.getPrincipal() instanceof UserDetails) {
modelMap.put("username", ((UserDetails) auth.getPrincipal()).getUsername());
}
return "secure/index";
}
}

View File

@ -0,0 +1 @@
server.port=9000

View File

@ -0,0 +1,10 @@
<html>
<head>
<title>Cas Secured App - Logout</title>
</head>
<body>
<h1>You have logged out of Cas Secured Spring Boot App Successfully</h1>
<br>
<a href="/logout/cas">Log out of all other Services</a>
</body>
</html>

View File

@ -0,0 +1,11 @@
<html>
<head>
<title>Cas Secured App - Index</title>
</head>
<body>
<h1>Welcome to Cas Secured Spring Boot App</h1>
<h2>This is a Public Page</h2>
<br>
<a href="/login">Login</a>
</body>
</html>

View File

@ -0,0 +1,12 @@
<html>
<head>
<title>Cas Secured App - Secured</title>
</head>
<body>
<h1>Welcome to Cas Secured Spring Boot App</h1>
<h2>This is a Secured Page</h2>
<h3>Welcome home <span style="color:cadetblue;">${username!""}</span></h3>
<br>
<a href="/logout">Logout</a>
</body>
</html>

View File

@ -0,0 +1,16 @@
package com.baeldung.cassecuredapp;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class CasSecuredAppApplicationTests {
@Test
public void contextLoads() {
}
}

14
cas-server/.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
.classpath
!/.project
.project
.settings
target/
.idea/
.DS_Store
.idea
overlays/
.gradle/
build/
bin/
*.iml
*.log

202
cas-server/LICENSE.txt Normal file
View File

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed 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.

88
cas-server/README.md Normal file
View File

@ -0,0 +1,88 @@
CAS Overlay Template
============================
Generic CAS WAR overlay to exercise the latest versions of CAS. This overlay could be freely used as a starting template for local CAS war overlays. The CAS services management overlay is available [here](https://github.com/apereo/cas-services-management-overlay).
# Versions
```xml
<cas.version>5.1.x</cas.version>
```
# Requirements
* JDK 1.8+
# Configuration
The `etc` directory contains the configuration files and directories that need to be copied to `/etc/cas/config`.
# Build
To see what commands are available to the build script, run:
```bash
./build.sh help
```
To package the final web application, run:
```bash
./build.sh package
```
To update `SNAPSHOT` versions run:
```bash
./build.sh package -U
```
# Deployment
- Create a keystore file `thekeystore` under `/etc/cas`. Use the password `changeit` for both the keystore and the key/certificate entries.
- Ensure the keystore is loaded up with keys and certificates of the server.
On a successful deployment via the following methods, CAS will be available at:
* `http://cas.server.name:8080/cas`
* `https://cas.server.name:8443/cas`
## Executable WAR
Run the CAS web application as an executable WAR.
```bash
./build.sh run
```
## Spring Boot
Run the CAS web application as an executable WAR via Spring Boot. This is most useful during development and testing.
```bash
./build.sh bootrun
```
### Warning!
Be careful with this method of deployment. `bootRun` is not designed to work with already executable WAR artifacts such that CAS server web application. YMMV. Today, uses of this mode ONLY work when there is **NO OTHER** dependency added to the build script and the `cas-server-webapp` is the only present module. See [this issue](https://github.com/apereo/cas/issues/2334) and [this issue](https://github.com/spring-projects/spring-boot/issues/8320) for more info.
## Spring Boot App Server Selection
There is an app.server property in the pom.xml that can be used to select a spring boot application server.
It defaults to "-tomcat" but "-jetty" and "-undertow" are supported.
It can also be set to an empty value (nothing) if you want to deploy CAS to an external application server of your choice and you don't want the spring boot libraries included.
```xml
<app.server>-tomcat<app.server>
```
## Windows Build
If you are building on windows, try build.cmd instead of build.sh. Arguments are similar but for usage, run:
```
build.cmd help
```
## External
Deploy resultant `target/cas.war` to a servlet container of choice.

82
cas-server/build.cmd Normal file
View File

@ -0,0 +1,82 @@
@echo off
@set JAVA_ARGS=-Xms500m -Xmx1g
@set CAS_DIR=\etc\cas
@set CONFIG_DIR=\etc\cas\config
@rem Call this script with DNAME and CERT_SUBJ_ALT_NAMES already set to override
@if "%DNAME%" == "" set DNAME=CN=cas.example.org,OU=Example,OU=Org,C=US
@rem List other host names or ip addresses you want in your certificate, may help with host name verification,
@rem if client apps make https connection for ticket validation and compare name in cert (include sub. alt. names)
@rem to name used to access CAS
@if "%CERT_SUBJ_ALT_NAMES%" == "" set CERT_SUBJ_ALT_NAMES=dns:example.org,dns:localhost,dns:%COMPUTERNAME%,ip:127.0.0.1
@rem Check for mvn in path, use it if found, otherwise use maven wrapper
@set MAVEN_CMD=mvn
@where /q mvn
@if %ERRORLEVEL% neq 0 set MAVEN_CMD=.\mvnw.bat
@if "%1" == "" call:help
@if "%1" == "copy" call:copy
@if "%1" == "clean" call:clean %2 %3 %4
@if "%1" == "package" call:package %2 %3 %4
@if "%1" == "bootrun" call:bootrun %2 %3 %4
@if "%1" == "debug" call:debug %2 %3 %4
@if "%1" == "run" call:run %2 %3 %4
@if "%1" == "help" call:help
@if "%1" == "gencert" call:gencert
@rem function section starts here
@goto:eof
:copy
@echo "Creating configuration directory under %CONFIG_DIR%"
if not exist %CONFIG_DIR% mkdir %CONFIG_DIR%
@echo "Copying configuration files from etc/cas to /etc/cas"
xcopy /S /Y etc\cas\* \etc\cas
@goto:eof
:help
@echo "Usage: build.bat [copy|clean|package|run|debug|bootrun|gencert] [optional extra args for maven]"
@echo "To get started on a clean system, run "build.bat copy" and "build.bat gencert", then "build.bat run"
@echo "Note that using the copy or gencert arguments will create and/or overwrite the %CAS_DIR% which is outside this project"
@goto:eof
:clean
call %MAVEN_CMD% clean %1 %2 %3
exit /B %ERRORLEVEL%
@goto:eof
:package
call %MAVEN_CMD% clean package -T 5 %1 %2 %3
exit /B %ERRORLEVEL%
@goto:eof
:bootrun
call %MAVEN_CMD% clean package spring-boot:run -T 5 %1 %2 %3
exit /B %ERRORLEVEL%
@goto:eof
:debug
call:package %1 %2 %3 & java %JAVA_ARGS% -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n -jar target/cas.war
@goto:eof
:run
call:package %1 %2 %3 & java %JAVA_ARGS% -jar target/cas.war
@goto:eof
:gencert
where /q keytool
if ERRORLEVEL 1 (
@echo Java keytool.exe not found in path.
exit /b 1
) else (
if not exist %CAS_DIR% mkdir %CAS_DIR%
@echo on
@echo Generating self-signed SSL cert for %DNAME% in %CAS_DIR%\thekeystore
keytool -genkeypair -alias cas -keyalg RSA -keypass changeit -storepass changeit -keystore %CAS_DIR%\thekeystore -dname %DNAME% -ext SAN=%CERT_SUBJ_ALT_NAMES%
@echo Exporting cert for use in trust store (used by cas clients)
keytool -exportcert -alias cas -storepass changeit -keystore %CAS_DIR%\thekeystore -file %CAS_DIR%\cas.cer
)
@goto:eof

97
cas-server/build.sh Normal file
View File

@ -0,0 +1,97 @@
#!/bin/bash
function copy() {
echo -e "Creating configuration directory under /etc/cas"
mkdir -p /etc/cas/config
echo -e "Copying configuration files from etc/cas to /etc/cas"
cp -rfv etc/cas/* /etc/cas
}
function help() {
echo "Usage: build.sh [copy|clean|package|run|debug|bootrun|gencert]"
echo " copy: Copy config from ./etc/cas/config to /etc/cas/config"
echo " clean: Clean Maven build directory"
echo " package: Clean and build CAS war, also call copy"
echo " run: Build and run CAS.war via spring boot (java -jar target/cas.war)"
echo " debug: Run CAS.war and listen for Java debugger on port 5000"
echo " bootrun: Run with maven spring boot plugin, doesn't work with multiple dependencies"
echo " gencert: Create keystore with SSL certificate in location where CAS looks by default"
}
function clean() {
./mvnw clean "$@"
}
function package() {
./mvnw clean package -T 5 "$@"
copy
}
function bootrun() {
./mvnw clean package spring-boot:run -T 5 "$@"
}
function debug() {
package && java -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n -jar target/cas.war
}
function run() {
package && java -jar target/cas.war
}
function gencert() {
if [[ ! -d /etc/cas ]] ; then
copy
fi
which keytool
if [[ $? -ne 0 ]] ; then
echo Error: Java JDK \'keytool\' is not installed or is not in the path
exit 1
fi
# override DNAME and CERT_SUBJ_ALT_NAMES before calling or use dummy values
DNAME="${DNAME:-CN=cas.example.org,OU=Example,OU=Org,C=US}"
CERT_SUBJ_ALT_NAMES="${CERT_SUBJ_ALT_NAMES:-dns:example.org,dns:localhost,ip:127.0.0.1}"
echo "Generating keystore for CAS with DN ${DNAME}"
keytool -genkeypair -alias cas -keyalg RSA -keypass changeit -storepass changeit -keystore /etc/cas/thekeystore -dname ${DNAME} -ext SAN=${CERT_SUBJ_ALT_NAMES}
keytool -exportcert -alias cas -storepass changeit -keystore /etc/cas/thekeystore -file /etc/cas/cas.cer
}
if [ $# -eq 0 ]; then
echo -e "No commands provided. Defaulting to [run]\n"
run
exit 0
fi
case "$1" in
"copy")
copy
;;
"clean")
shift
clean "$@"
;;
"package")
shift
package "$@"
;;
"bootrun")
shift
bootrun "$@"
;;
"debug")
debug "$@"
;;
"run")
run "$@"
;;
"gencert")
gencert "$@"
;;
*)
help
;;
esac

View File

@ -0,0 +1,2 @@
info:
description: CAS Configuration

View File

@ -0,0 +1,7 @@
cas.server.name: https://cas.example.org:8443
cas.server.prefix: https://cas.example.org:8443/cas
cas.adminPagesSecurity.ip=127\.0\.0\.1
logging.config: file:/etc/cas/config/log4j2.xml
# cas.serviceRegistry.config.location: classpath:/services

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Specify the refresh internal in seconds. -->
<Configuration monitorInterval="5" packages="org.apereo.cas.logging">
<Properties>
<!--
Default log directory is the current directory but that can be overridden with -Dcas.log.dir=<logdir>
Or you can change this property to a new default
-->
<Property name="cas.log.dir" >.</Property>
<!-- To see more CAS specific logging, adjust this property to info or debug or run server with -Dcas.log.leve=debug -->
<Property name="cas.log.level" >warn</Property>
</Properties>
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%d %p [%c] - &lt;%m&gt;%n"/>
</Console>
<RollingFile name="file" fileName="${sys:cas.log.dir}/cas.log" append="true"
filePattern="${sys:cas.log.dir}/cas-%d{yyyy-MM-dd-HH}-%i.log">
<PatternLayout pattern="%d %p [%c] - &lt;%m&gt;%n"/>
<Policies>
<OnStartupTriggeringPolicy />
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy />
</Policies>
</RollingFile>
<RollingFile name="auditlogfile" fileName="${sys:cas.log.dir}/cas_audit.log" append="true"
filePattern="${sys:cas.log.dir}/cas_audit-%d{yyyy-MM-dd-HH}-%i.log">
<PatternLayout pattern="%d %p [%c] - %m%n"/>
<Policies>
<OnStartupTriggeringPolicy />
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy />
</Policies>
</RollingFile>
<RollingFile name="perfFileAppender" fileName="${sys:cas.log.dir}/perfStats.log" append="true"
filePattern="${sys:cas.log.dir}/perfStats-%d{yyyy-MM-dd-HH}-%i.log">
<PatternLayout pattern="%m%n"/>
<Policies>
<OnStartupTriggeringPolicy />
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy />
</Policies>
</RollingFile>
<CasAppender name="casAudit">
<AppenderRef ref="auditlogfile" />
</CasAppender>
<CasAppender name="casFile">
<AppenderRef ref="file" />
</CasAppender>
<CasAppender name="casConsole">
<AppenderRef ref="console" />
</CasAppender>
<CasAppender name="casPerf">
<AppenderRef ref="perfFileAppender" />
</CasAppender>
</Appenders>
<Loggers>
<!-- If adding a Logger with level set higher than warn, make category as selective as possible -->
<!-- Loggers inherit appenders from Root Logger unless additivity is false -->
<AsyncLogger name="org.apereo" level="${sys:cas.log.level}" includeLocation="true"/>
<AsyncLogger name="org.apereo.services.persondir" level="${sys:cas.log.level}" includeLocation="true"/>
<AsyncLogger name="org.apereo.cas.web.flow" level="info" includeLocation="true"/>
<AsyncLogger name="org.apache" level="warn" />
<AsyncLogger name="org.apache.http" level="error" />
<AsyncLogger name="org.springframework" level="warn" />
<AsyncLogger name="org.springframework.cloud.server" level="warn" />
<AsyncLogger name="org.springframework.cloud.client" level="warn" />
<AsyncLogger name="org.springframework.cloud.bus" level="warn" />
<AsyncLogger name="org.springframework.aop" level="warn" />
<AsyncLogger name="org.springframework.boot" level="warn" />
<AsyncLogger name="org.springframework.boot.actuate.autoconfigure" level="warn" />
<AsyncLogger name="org.springframework.webflow" level="warn" />
<AsyncLogger name="org.springframework.session" level="warn" />
<AsyncLogger name="org.springframework.amqp" level="error" />
<AsyncLogger name="org.springframework.integration" level="warn" />
<AsyncLogger name="org.springframework.messaging" level="warn" />
<AsyncLogger name="org.springframework.web" level="warn" />
<AsyncLogger name="org.springframework.orm.jpa" level="warn" />
<AsyncLogger name="org.springframework.scheduling" level="warn" />
<AsyncLogger name="org.springframework.context.annotation" level="error" />
<AsyncLogger name="org.springframework.boot.devtools" level="error" />
<AsyncLogger name="org.springframework.web.socket" level="warn" />
<AsyncLogger name="org.thymeleaf" level="warn" />
<AsyncLogger name="org.pac4j" level="warn" />
<AsyncLogger name="org.opensaml" level="warn"/>
<AsyncLogger name="net.sf.ehcache" level="warn" />
<AsyncLogger name="com.couchbase" level="warn" includeLocation="true"/>
<AsyncLogger name="com.ryantenney.metrics" level="warn" />
<AsyncLogger name="net.jradius" level="warn" />
<AsyncLogger name="org.openid4java" level="warn" />
<AsyncLogger name="org.ldaptive" level="warn" />
<AsyncLogger name="com.hazelcast" level="warn" />
<AsyncLogger name="org.jasig.spring" level="warn" />
<!-- Log perf stats only to perfStats.log -->
<AsyncLogger name="perfStatsLogger" level="info" additivity="false" includeLocation="true">
<AppenderRef ref="casPerf"/>
</AsyncLogger>
<!-- Log audit to all root appenders, and also to audit log (additivity is not false) -->
<AsyncLogger name="org.apereo.inspektr.audit.support" level="info" includeLocation="true" >
<AppenderRef ref="casAudit"/>
</AsyncLogger>
<!-- All Loggers inherit appenders specified here, unless additivity="false" on the Logger -->
<AsyncRoot level="warn">
<AppenderRef ref="casFile"/>
<!--
For deployment to an application server running as service,
delete the casConsole appender below
-->
<AppenderRef ref="casConsole"/>
</AsyncRoot>
</Loggers>
</Configuration>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
distributionUrl=https\://repository.apache.org/content/repositories/releases/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip

234
cas-server/mvnw vendored Normal file
View File

@ -0,0 +1,234 @@
#!/bin/sh
# ----------------------------------------------------------------------------
# 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.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Maven2 Start Up Batch script
#
# Required ENV vars:
# ------------------
# JAVA_HOME - location of a JDK home dir
#
# Optional ENV vars
# -----------------
# M2_HOME - location of maven2's installed home dir
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
# e.g. to debug Maven itself, use
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
# ----------------------------------------------------------------------------
if [ -z "$MAVEN_SKIP_RC" ] ; then
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "$HOME/.mavenrc" ] ; then
. "$HOME/.mavenrc"
fi
fi
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
mingw=false
case "`uname`" in
CYGWIN*) cygwin=true ;;
MINGW*) mingw=true;;
Darwin*) darwin=true
#
# Look for the Apple JDKs first to preserve the existing behaviour, and then look
# for the new JDKs provided by Oracle.
#
if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then
#
# Apple JDKs
#
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
fi
if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then
#
# Apple JDKs
#
export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
fi
if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then
#
# Oracle JDKs
#
export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
fi
if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then
#
# Apple JDKs
#
export JAVA_HOME=`/usr/libexec/java_home`
fi
;;
esac
if [ -z "$JAVA_HOME" ] ; then
if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi
if [ -z "$M2_HOME" ] ; then
## resolve links - $0 may be a link to maven's home
PRG="$0"
# need this for relative symlinks
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done
saveddir=`pwd`
M2_HOME=`dirname "$PRG"`/..
# make it fully qualified
M2_HOME=`cd "$M2_HOME" && pwd`
cd "$saveddir"
# echo Using m2 at $M2_HOME
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --unix "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# For Migwn, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$M2_HOME" ] &&
M2_HOME="`(cd "$M2_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
# TODO classpath?
fi
if [ -z "$JAVA_HOME" ]; then
javaExecutable="`which javac`"
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
# readlink(1) is not available as standard on Solaris 10.
readLink=`which readlink`
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
if $darwin ; then
javaHome="`dirname \"$javaExecutable\"`"
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
else
javaExecutable="`readlink -f \"$javaExecutable\"`"
fi
javaHome="`dirname \"$javaExecutable\"`"
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
JAVA_HOME="$javaHome"
export JAVA_HOME
fi
fi
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD="`which java`"
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." >&2
echo " We cannot execute $JAVACMD" >&2
exit 1
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Warning: JAVA_HOME environment variable is not set."
fi
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --path --windows "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
fi
# traverses directory structure from process work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
find_maven_basedir() {
local basedir=$(pwd)
local wdir=$(pwd)
while [ "$wdir" != '/' ] ; do
wdir=$(cd "$wdir/.."; pwd)
if [ -d "$wdir"/.mvn ] ; then
basedir=$wdir
break
fi
done
echo "${basedir}"
}
# concatenates all lines of a file
concat_lines() {
if [ -f "$1" ]; then
echo "$(tr -s '\n' ' ' < "$1")"
fi
}
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-$(find_maven_basedir)}
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
# Provide a "standardized" way to retrieve the CLI args that will
# work with both Windows and non-Windows executions.
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
export MAVEN_CMD_LINE_ARGS
WRAPPER_LAUNCHER="org.apache.maven.wrapper.MavenWrapperMain"
exec "$JAVACMD" \
$MAVEN_OPTS \
"-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
-classpath \
"$MAVEN_PROJECTBASEDIR/maven/maven-wrapper.jar" \
${WRAPPER_LAUNCHER} "$@"

174
cas-server/mvnw.bat Normal file
View File

@ -0,0 +1,174 @@
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven2 Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
:skipRcPre
@setlocal
set ERROR_CODE=0
@REM To isolate internal variables from possible post scripts, we use another setlocal
@setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:chkMHome
if not "%M2_HOME%"=="" goto valMHome
SET "M2_HOME=%~dp0.."
if not "%M2_HOME%"=="" goto valMHome
echo.
echo Error: M2_HOME not found in your environment. >&2
echo Please set the M2_HOME variable in your environment to match the >&2
echo location of the Maven installation. >&2
echo.
goto error
:valMHome
:stripMHome
if not "_%M2_HOME:~-1%"=="_\" goto checkMCmd
set "M2_HOME=%M2_HOME:~0,-1%"
goto stripMHome
:checkMCmd
if exist "%M2_HOME%\bin\mvn.cmd" goto init
echo.
echo Error: M2_HOME is set to an invalid directory. >&2
echo M2_HOME = "%M2_HOME%" >&2
echo Please set the M2_HOME variable in your environment to match the >&2
echo location of the Maven installation >&2
echo.
goto error
@REM ==== END VALIDATION ====
:init
set MAVEN_CMD_LINE_ARGS=%*
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
set EXEC_DIR=%CD%
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set WDIR=%CD%
goto findBaseDir
:baseDirFound
set MAVEN_PROJECTBASEDIR=%WDIR%
cd "%EXEC_DIR%"
goto endDetectBaseDir
:baseDirNotFound
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
cd "%EXEC_DIR%"
:endDetectBaseDir
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
:endReadAdditionalConfig
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\maven\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% %WRAPPER_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
:skipRcPost
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
exit /B %ERROR_CODE%

158
cas-server/pom.xml Normal file
View File

@ -0,0 +1,158 @@
<?xml version="1.0" encoding="UTF-8"?>
<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.baeldung</groupId>
<artifactId>cas-server</artifactId>
<packaging>war</packaging>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>com.rimerosolutions.maven.plugins</groupId>
<artifactId>wrapper-maven-plugin</artifactId>
<version>0.0.4</version>
<configuration>
<verifyDownload>true</verifyDownload>
<checksumAlgorithm>MD5</checksumAlgorithm>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${springboot.version}</version>
<configuration>
<mainClass>org.springframework.boot.loader.WarLauncher</mainClass>
<addResources>true</addResources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<warName>cas</warName>
<failOnMissingWebXml>false</failOnMissingWebXml>
<recompressZippedFiles>false</recompressZippedFiles>
<archive>
<compress>false</compress>
<manifestFile>${project.build.directory}/war/work/org.apereo.cas/cas-server-webapp${app.server}/META-INF/MANIFEST.MF
</manifestFile>
</archive>
<overlays>
<overlay>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-webapp${app.server}</artifactId>
</overlay>
</overlays>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
</plugin>
</plugins>
<finalName>cas</finalName>
</build>
<dependencies>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-webapp${app.server}</artifactId>
<version>${cas.version}</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-json-service-registry</artifactId>
<version>${cas.version}</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-jdbc</artifactId>
<version>${cas.version}</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-jdbc-drivers</artifactId>
<version>${cas.version}</version>
</dependency>
</dependencies>
<properties>
<cas.version>5.1.4</cas.version>
<springboot.version>1.5.3.RELEASE</springboot.version>
<!-- app.server could be -jetty, -undertow, -tomcat, or blank if you plan to provide appserver -->
<app.server>-tomcat</app.server>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>sonatype-releases</id>
<url>http://oss.sonatype.org/content/repositories/releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>shibboleth-releases</id>
<url>https://build.shibboleth.net/nexus/content/repositories/releases</url>
</repository>
<repository>
<id>spring-milestones</id>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
<profiles>
<profile>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<id>pgp</id>
<build>
<plugins>
<plugin>
<groupId>com.github.s4u.plugins</groupId>
<artifactId>pgpverify-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<pgpKeyServer>hkp://pool.sks-keyservers.net</pgpKeyServer>
<pgpKeysCachePath>${settings.localRepository}/pgpkeys-cache</pgpKeysCachePath>
<scope>test</scope>
<verifyPomFiles>true</verifyPomFiles>
<failNoSignature>false</failNoSignature>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -0,0 +1,126 @@
##
# CAS Server Context Configuration
#
server.context-path=/cas
server.port=8443
server.ssl.key-store=file:/etc/cas/thekeystore
server.ssl.key-store-password=changeit
server.ssl.key-password=changeit
# server.ssl.ciphers=
# server.ssl.client-auth=
# server.ssl.enabled=
# server.ssl.key-alias=
# server.ssl.key-store-provider=
# server.ssl.key-store-type=
# server.ssl.protocol=
# server.ssl.trust-store=
# server.ssl.trust-store-password=
# server.ssl.trust-store-provider=
# server.ssl.trust-store-type=
server.max-http-header-size=2097152
server.use-forward-headers=true
server.connection-timeout=20000
server.error.include-stacktrace=NEVER
server.tomcat.max-http-post-size=2097152
server.tomcat.basedir=build/tomcat
server.tomcat.accesslog.enabled=true
server.tomcat.accesslog.pattern=%t %a "%r" %s (%D ms)
server.tomcat.accesslog.suffix=.log
server.tomcat.max-threads=10
server.tomcat.port-header=X-Forwarded-Port
server.tomcat.protocol-header=X-Forwarded-Proto
server.tomcat.protocol-header-https-value=https
server.tomcat.remote-ip-header=X-FORWARDED-FOR
server.tomcat.uri-encoding=UTF-8
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
##
# CAS Cloud Bus Configuration
#
spring.cloud.bus.enabled=false
# spring.cloud.bus.refresh.enabled=true
# spring.cloud.bus.env.enabled=true
# spring.cloud.bus.destination=CasCloudBus
# spring.cloud.bus.ack.enabled=true
endpoints.enabled=false
endpoints.sensitive=true
endpoints.restart.enabled=false
endpoints.shutdown.enabled=false
management.security.enabled=true
management.security.roles=ACTUATOR,ADMIN
management.security.sessions=if_required
management.context-path=/status
management.add-application-context-header=false
security.basic.authorize-mode=role
security.basic.enabled=false
security.basic.path=/cas/status/**
##
# CAS Web Application Session Configuration
#
server.session.timeout=300
server.session.cookie.http-only=true
server.session.tracking-modes=COOKIE
##
# CAS Thymeleaf View Configuration
#
spring.thymeleaf.encoding=UTF-8
spring.thymeleaf.cache=true
spring.thymeleaf.mode=HTML
##
# CAS Log4j Configuration
#
# logging.config=file:/etc/cas/log4j2.xml
server.context-parameters.isLog4jAutoInitializationDisabled=true
##
# CAS AspectJ Configuration
#
spring.aop.auto=true
spring.aop.proxy-target-class=true
##
# CAS Authentication Credentials
#
#cas.authn.accept.users=casuser::Mellon
cas.authn.accept.users=
cas.authn.accept.name=
#CAS Database Authentication Property
cas.authn.jdbc.query[0].sql=SELECT * FROM users WHERE email = ?
cas.authn.jdbc.query[0].url=jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
cas.authn.jdbc.query[0].dialect=org.hibernate.dialect.MySQLDialect
cas.authn.jdbc.query[0].user=root
cas.authn.jdbc.query[0].password=
cas.authn.jdbc.query[0].ddlAuto=none
cas.authn.jdbc.query[0].driverClass=com.mysql.jdbc.Driver
cas.authn.jdbc.query[0].fieldPassword=password
cas.authn.jdbc.query[0].passwordEncoder.type=BCRYPT
##
# CAS Delegated Authentication
#
cas.authn.pac4j.bitbucket.clientName=Bitbucket
cas.authn.pac4j.dropbox.clientName=Dropbox
cas.authn.pac4j.facebook.clientName=Facebook
cas.authn.pac4j.foursquare.clientName=Foursquare
cas.authn.pac4j.github.clientName=Github
cas.authn.pac4j.google.clientName=Google
cas.authn.pac4j.linkedIn.clientName=LinkedIn
cas.authn.pac4j.paypal.clientName=PayPal
cas.authn.pac4j.twitter.clientName=Twitter
cas.authn.pac4j.yahoo.clientName=Yahoo
cas.authn.pac4j.windowsLive.clientName=Windows Live
cas.authn.pac4j.wordpress.clientName=WordPress

View File

@ -0,0 +1,41 @@
cas.server.name: https://localhost:8443
cas.server.prefix: https://localhost:8443/cas
cas.adminPagesSecurity.ip=127\.0\.0\.1
logging.config: file:/etc/cas/config/log4j2.xml
cas.serviceRegistry.initFromJson=true
cas.serviceRegistry.config.location=classpath:/services
cas.authn.accept.users=
cas.authn.accept.name=
#CAS Database Authentication Property
# cas.authn.jdbc.query[0].healthQuery=
# cas.authn.jdbc.query[0].isolateInternalQueries=false
# cas.authn.jdbc.query[0].failFast=true
# cas.authn.jdbc.query[0].isolationLevelName=ISOLATION_READ_COMMITTED
# cas.authn.jdbc.query[0].leakThreshold=10
# cas.authn.jdbc.query[0].propagationBehaviorName=PROPAGATION_REQUIRED
# cas.authn.jdbc.query[0].batchSize=1
# cas.authn.jdbc.query[0].maxAgeDays=180
# cas.authn.jdbc.query[0].autocommit=false
# cas.authn.jdbc.query[0].idleTimeout=5000
# cas.authn.jdbc.query[0].credentialCriteria=
# cas.authn.jdbc.query[0].name=
# cas.authn.jdbc.query[0].order=0
# cas.authn.jdbc.query[0].dataSourceName=
# cas.authn.jdbc.query[0].dataSourceProxy=false
# cas.authn.jdbc.query[0].fieldExpired=
# cas.authn.jdbc.query[0].fieldDisabled=
# cas.authn.jdbc.query[0].principalAttributeList=sn,cn:commonName,givenName
# cas.authn.jdbc.query[0].passwordEncoder.type=NONE|DEFAULT|STANDARD|BCRYPT|SCRYPT|PBKDF2|com.example.CustomPasswordEncoder
# cas.authn.jdbc.query[0].passwordEncoder.characterEncoding=
# cas.authn.jdbc.query[0].passwordEncoder.encodingAlgorithm=
# cas.authn.jdbc.query[0].passwordEncoder.secret=
# cas.authn.jdbc.query[0].passwordEncoder.strength=16
# cas.authn.jdbc.query[0].principalTransformation.suffix=
# cas.authn.jdbc.query[0].principalTransformation.caseConversion=NONE|UPPERCASE|LOWERCASE
# cas.authn.jdbc.query[0].principalTransformation.prefix=

View File

@ -0,0 +1,8 @@
{
"@class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : "^http://localhost:9000/login/cas",
"name" : "CAS Spring Secured App",
"description": "This is a Spring App that usses the CAS Server for it's authentication",
"id" : 19991,
"evaluationOrder" : 1
}

View File

@ -28,5 +28,5 @@
- [Finding Max/Min of a List or Collection](http://www.baeldung.com/java-collection-min-max)
- [Java Base64 Encoding and Decoding](http://www.baeldung.com/java-base64-encode-and-decode)
- [The Difference Between map() and flatMap()](http://www.baeldung.com/java-difference-map-and-flatmap)
- [Merging Streams in Java](http://www.baeldung.com/java-merge-streams)
- [Merging Streams in Java](http://www.baeldung.com/java-merge-streams)
- [“Stream has already been operated upon or closed” Exception in Java](http://www.baeldung.com/java-stream-operated-upon-or-closed-exception)

View File

@ -17,3 +17,4 @@
- [Java 9 Reactive Streams](http://www.baeldung.com/java-9-reactive-streams)
- [How to Get All Dates Between Two Dates?](http://www.baeldung.com/java-between-dates)
- [Java 9 java.util.Objects Additions](http://www.baeldung.com/java-9-objects-new)
- [Compact Strings in Java 9](http://www.baeldung.com/java-9-compact-string)

View File

@ -106,4 +106,12 @@
- [Converting a List to String in Java](http://www.baeldung.com/java-list-to-string)
- [CharSequence vs. String in Java](http://www.baeldung.com/java-char-sequence-string)
- [Period and Duration in Java](http://www.baeldung.com/java-period-duration)
- [Guide to the Diamond Operator in Java](http://www.baeldung.com/java-diamond-operator)
- [Guide to the Diamond Operator in Java](http://www.baeldung.com/java-diamond-operator)
- [Singletons in Java](http://www.baeldung.com/java-singleton)
- [“Sneaky Throws” in Java](http://www.baeldung.com/java-sneaky-throws)
- [OutOfMemoryError: GC Overhead Limit Exceeded](http://www.baeldung.com/java-gc-overhead-limit-exceeded)
- [How to Iterate Over a Stream With Indices](http://www.baeldung.com/java-stream-indices)
- [StringBuilder and StringBuffer in Java](http://www.baeldung.com/java-string-builder-string-buffer)
- [Number of Digits in an Integer in Java](http://www.baeldung.com/java-number-of-digits-in-int)
- [Proxy, Decorator, Adapter and Bridge Patterns](http://www.baeldung.com/java-structural-design-patterns)

Some files were not shown because too many files have changed in this diff Show More