Tuesday, November 17, 2015

ANGULARJS + SPRAY + AKKA example (link)

http://www.cakesolutions.net/teamblogs/2014/05/08/spray-akka-and-angularjs

CHROME - blur issues in Windows 8

Only Chrome:
By default Chrome has a strange blur in Windows 8.
How to fix it: in Chrome properties check "Disable display scaling".
That's all. Here is more: https://productforums.google.com/forum/#!topic/chrome/9DnjIpD3xoE

Across all Windows 8:
In order to remove blur over all Windows applications go to Display settings and set scaling to 100% (default is 120%). See here: http://www.thewindowsclub.com/fonts-appear-blurred-windows-8

Monday, November 2, 2015

Friday, October 23, 2015

SPRING - stereotypes example

import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Value;import org.springframework.stereotype.Service;
import java.util.*;
@Service("myConfigServiceFacade")public class MyConfigServiceFacadeImpl implements MyConfigServiceFacade {

    @Value("${com.foo.isWebSSOEnabled}")
    private String webSSOEnabled;
    @Value("${com.foo.webSSOlogoutURL}")
    private String webSSOInternetLogoutURL;
    @Value("${com.foo.webSSOlogoutURL}")
    private String webSSOIntranetLogoutURL;
    @Value("${com.foo.brandbarURL}" )
    private String brandbarURL;
    @Value("${com.foo.4eye.active}")
    private boolean is4eyeActive;
    @Autowired
    private MyPrincipalService principalService;

====================================================

import com.google.gwt.user.client.rpc.RemoteService;import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;import java.util.Map;import java.util.Set;
@RemoteServiceRelativePath("services/myConfigServiceFacade.rpc")
public interface MyConfigServiceFacade extends RemoteService {
    ApplicationInfo getApplicationInfo();
    SessionInfo config() throws Exception;
    Map<Long, Set<String>> configAllowedAccounts(Long var1, Long var2) throws Exception;}