åæ°£ããæªã¯éæã¡ï¼å®¶æï¼è¦ªãå å¼ï¼æ§æã¨ä¸¡è¦ªã®ä»äºã¯ï¼å£°åªã®çµæ´ã«ã¤ãã¦è©³ãããä¼ããã¦ããã¾ãã ãã¦ãå¨ ããªã㣠...
Undertow is a flexible performant web server written in java, providing both blocking and non-blocking APIâs based on NIO. Undertow has a composition based architecture that allows you to build a web server by combining small single purpose handlers. The gives you the flexibility to choose between a full Java EE servlet 4.0 container, or a low level non-blocking handler, to anything in between. Un
Webã¢ããªã®å ¬éã«ããã£ã¦ã¯ããã¼ã¿è»¢ééãå®è¡å¹çã®ç¹ããJavaScriptãå§ç¸®ï¼minifyï¼ãã¦é ä¿¡ãããã¨ãæ¨å¥¨ããã¦ãã¾ããããã§ã¯å®è¡æã«å§ç¸®ããæ¹æ³ã説æãã¾ãã JavaScriptã®å§ç¸®ã«ã¯Google Closure Compilerãå©ç¨ãã¾ããMaven pom.xmlã«ä»¥ä¸ã追è¨ããããzipã¢ã¼ã«ã¤ãããã¦ã³ãã¼ããã¦é ç½®ãã¾ãã <dependencies> <dependency> <groupId>com.google.javascript</groupId> <artifactId>closure-compiler</artifactId> <version>r1592</version> <exclusions> <!-- å®è¡æã¯Antãªãã¦ãåã --> <exclusion> <artifactId>ant</artifactId> <gr
The following print statement would print "hello world". Could anyone explain this? System.out.println(randomString(-229985452) + " " + randomString(-147909649)); And randomString() looks like this: public static String randomString(int i) { Random ran = new Random(i); StringBuilder sb = new StringBuilder(); while (true) { int k = ran.nextInt(27); if (k == 0) break; sb.append((char)('`' + k)); } r
What is Jaskell? Jaskell is a functional scripting programming language that runs in JVM. The name "Jaskell" stands for Java-Haskell, Haskell being the famous pure functional programming language. Why Jaskell? There are already many cool scripting languages in jvm. Jython, JRuby, Groovy etc. They are all excellent and very practical scripting languages. Why yet another scripting language? Well. Ja
ãJUnitå®è·µå ¥é ~ä½ç³»çã«å¦ã¶ã¦ããããã¹ãã®ææ³ (WEB+DB PRESS plus)ããç®æ¬ãã¦é ããã®ã§èªãã§ã¿ã¾ããã æ®æ®µã¯ PHPUnit ã§ãã¹ããæ¸ãã¦ããã®ã§ããã®æ¬å®¶ã¨ãè¨ãã JUnit ã®æ¬ã¯èå³æ´¥æ´¥ã§ããã å®ã¯ãä»ã§ãã PHP ä¸æ§ã®æ¥ã ã§ãããæ°å¹´åï¼JDK1.3 ã¨ã 1.4 ã®æ代ã§ããï¼ã¯ Java ã§éçºãã¦ãããã¨ããã£ãã®ã§ããã¾ã©ãã® JavaãJUnit ãã©ããªã£ã¦ãããç¥ãããããããèå³æ·±ãèªã¿é²ãããã¨ãã§ãã¾ããã èªãã§ã¿ã¦æããç¹ãæãã¦ã¿ã¾ãã 1. å§åçãªããªã¥ã¼ã ã¾ãç®æ¬¡ããã£ã¨è¦ãæã«æããã®ãã«ãã¼ãã¦ããç¯å²ã®åºãã§ããæ£ç´ããä¸åã«åã¾ã£ã¦ããªãã¨:D JUnit ã®è§£èª¬ããã¯ãã¾ããJUnit ã使ã£ããã¹ãã®æ¸ãæ¹ãã½ããã¦ã§ã¢ãã¹ãã»ãã¹ãææ³ãã¦ããããã¹ãã®ãã¿ã¼ã³ããã㦠JUnit ã®ãã
ãæ¢ãã®ãã®ãè¦ã¤ããããã«ã以ä¸ã®é ç®ã試ãã¦ã¿ã¦ãã ããã ãã¼ã¯ã¼ãæ¤ç´¢ã®ã¹ãã«ã確èªãã¦ãã ããã å ¥åãããã¼ã¯ã¼ãã®å義èªã使ç¨ãã¦ãã ããããã¨ãã°ããã½ããã¦ã§ã¢ãã®ä»£ããã«ãã¢ããªã±ã¼ã·ã§ã³ãã試ãã¦ã¿ã¦ãã ããã æ°ããæ¤ç´¢ãéå§ãã¦ãã ããã
é·ããæ´æ°ã®æ¢ã¾ã£ã¦ããããããã俺æåã³ã¼ããã·ãªã¼ãºã§ããã ãã®ãã³ãJava Advent Calendarã®ä¸ç°ã¨ãã¦å¾©æ´»ããã¾ããï¼ Java Advent Calendarã£ã¦ï¼ æ¬ã¨ã³ããªã¼ã¯Java Advent Calendarã®5æ¥ç®ã§ãã Java Advent Calendarã«ã¤ãã¦ã¯ã以ä¸ã®ãµã¤ããã覧ãã ããã http://atnd.org/events/22434 åã®4æ¥ç®ã¯ @akirakoyasu ããã®ãSDKã§èº«è¿ã«ãªãAmazon Web Serviceã http://www.akirakoyasu.net/2011/12/04/easily-use-aws-through-sdk/ S3ãSimpleDBãSESã®ä½¿ãæ¹ããµã³ãã«ã³ã¼ãã¤ãã§ç´¹ä»ãã¦ãã¾ãã 次ã®6æ¥ç®ã¯ @shuji_w6e ããã®ãJUnit ã®ã»ã«ã¤ã http:/
ã¿ããªå¤§å¥½ã eclipse 㧠playframework ã®éçºãå¿«é©ã«è¡ããããã« playframework åã ruble ãä½ã£ã¦ã¿ã¾ããã ruble ã¨ã¯ aptana studio ã§ä½¿ããã³ã¼ãã¹ããããã®éã¾ãã§ãtextmate ã§è¨ãã¨ããã® bundle ã®ãããªãã®ã§ãã 以ä¸ã aptana (ãã¾ã¯ titanium studio ã§ãã) ã®ããã¥ã¡ã³ã ããæç²ã Ruble (short for RUby BundLE) is a runtime environment that allows for the extensibility of IDEs and text editors using Ruby. Compatibility with TextMate bundles is a priority--we want to make it
2011å¹´ç¾å¨ãããããä¸çã§ä¸çªä½¿ç¨ããã¦ããDIã³ã³ããã§ã¯ãªãã§ããããï¼çè ã®å¨ãã§ã¯éä¸ããSeasar2ã使ç¨ãããã¨ãå¤ããªãã¾ãããï¼ã Spring Frameworkã®è©³ç´°ã«ã¤ãã¦ã¯ä»¥ä¸ã®è¨äºãã覧ãã ããã â Spring Sourceã¨ã¯ 以åãRod Johnsonæ°ã¯ãInterface21ãã¨ããä¼æ¥ã®CEOãåãã¦ããããã®ä¼æ¥ã§ã¯Spring Frameworkã®éçºãã³ã³ãµã«ãã£ã³ã°ããã³ãµãã¼ããè¡ã£ã¦ãã¾ããã Spring Framework 2.5ããªãªã¼ã¹ããã¦ãããã°ããå¾ã®2007å¹´11æãRod Johnsonæ°ã¯ç¤¾åãããSpring Sourceãã«å¤æ´ãã¾ããããã®è¾ºãããSpring Sourceã¯ãªã¼ãã³ã½ã¼ã¹ç³»ä¼æ¥ã®è²·åãè¡ã£ãããã¨ã³ã¿ã¼ãã©ã¤ãºç³»ã®ãããã¯ããçºè¡¨ãã¦ããã¾ãã ãGroovyããGrailsããéçºããG
ã¡ãã£ã¨åãid:t-wadaããããtogetterã§ãããã©ã«ãã§ãã¹ãæåã«ããã¨ãã JUnit ã®è¨è¨å¤æã¨ãã®å罪ã«ã¤ãã¦ãã£ã¦ãããã¼ãã§ããããã¤ã¶ãããã¦ã¾ãããã http://togetter.com/li/138798 ãã£ãã便å©ãããããªãã®ã§ãassertioné¤æã®ãã¹ãjavaagentã¨ãã¦ä½ã£ã¦ã¿ã¾ããã http://kompiro.org/maven/junit/extensions/quick/training.assert/0.0.1/training.assert-0.0.1.jar Eclipseã ã¨ãããã¸ã§ã¯ãã®ç´ä¸ã«ä¸è¨ã®JARãé ç½®ããVM Argumentsã«ä¸è¨ã®ããã«ã-javaagent:training.assert-0.0.1.jarãã¨å ãã javassit 3.12.1ã«ä¾åãã¦ãããããããããã¦ã³ãã¼ããã¦ã¯ã©
Play framework 㧠Java Web ã¢ããªã±ã¼ã·ã§ã³éçºããã£ã¨ç°¡åã« ã¤ãã« Web ãããããã«ãã£ã¦ Java ãã¬ã¼ã ã¯ã¼ã¯ãéçºããã¾ããã ã¶ãã¶ãã«è¨ãä¸ãã£ãã¨ã³ã¿ã¼ãã©ã¤ãº Java ãã¯ãªã¼ã³ã«ç½®ãæããé åã«æ°ä»ãã¦ãã ããã Play ã¯éçºè ã®çç£æ§ã«æ³¨ç®ããRESTful ã¢ã¼ããã¯ãã£ãç®æãã¾ãã â ãªãªã¼ã¹ 1.0.2 ãã¦ã³ãã¼ã ãã㦠ã¯ããã¦ã¿ãã ! æ¦è¦ ãã°ãç´ããããªãã¼ãããã ã Java ãã¡ã¤ã«ãä¿®æ£ãã¦ãä¿åãã¦ããã©ã¦ã¶ããªãã¼ãããã°ãããã«çµæãè¦ããã¨ãã§ãã¾ãï¼ ã³ã³ãã¤ã«ããããã¤ããµã¼ãã®åèµ·åãå¿ è¦ããã¾ããã ã¹ãã¼ãã¬ã¹ã¢ãã« Play 㯠"Share nothing" ãªã·ã¹ãã ã§ãã åãã¢ããªã±ã¼ã·ã§ã³ã®å¤æ°ã®ã¤ã³ã¹ã¿ã³ã¹ãè¤æ°å°ã®ãµã¼ãä¸ã§åä½ããããã¨ã§å®¹æã«ã¹ã±ã¼ã«ããREST ã«
id:backpaper0ãããå é¨ã¯ã©ã¹ã¯ã¨ã³ã¯ãã¼ã¸ã³ã°ã¤ã³ã¹ã¿ã³ã¹ãç¡ãã¦ãã¤ã³ã¹ã¿ã³ã¹åã§ããï¼ã¨æ¸ããã¦ãã¾ããã Inner.class.getConstructor(Outer.class).newInstance((Outer) null); å®è¡ãã¦ã¿ãã¨ããã確ãã«ã¤ã³ã¹ã¿ã³ã¹åã§ãã¾ããã ã§ããããã£ã¦ãã°ãªãã§ããããï¼ä»æ§ãªãã§ããããï¼ id:backpaper0ããã¯ãããããªããããããæ¤è¨¼ããid:ryoasaiããã¯ããã°ã«è¿ããã¨ãã¦ãã¾ãã ããã§ã調ã¹ã¦ã¿ã¾ããã å é¨ã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯ã¿ ã¾ããå é¨ã¯ã©ã¹ã®æåã確èªãã¦ã¿ã¾ããã id:ryoasaiããã®æ¤è¨¼ã³ã¼ãï¼æ®éã®SIä¼ç¤¾ã§ã¯è©ä¾¡ããã«ããã®ã ãã©ãå¤ãã®ã·ã¹ãã ã¯ç 究ç±å¿ãªæè¡è ã®å°ããªçºè¦ã¨å·¥å¤«ã®ç©ã¿éãã«ãã£ã¦æ¯ãããã¦ããã®ã§ã¯ï¼ - é人ããã°ã©ãã¼ãç®æãã¦ï¼ãæ¹è¯ãã
æ¬é£è¼ã§ã¯ä»è©±é¡ã®ãã¬ã¼ã ã¯ã¼ã¯ãRuby on Railsï¼ä»¥ä¸ãRailsï¼ãã¨ç¾å¨Webã¢ããªã±ã¼ã·ã§ã³éçºã§ä¸»æµã§ããJavaã®ãã¬ã¼ã ã¯ã¼ã¯ç¾¤ãæ¯è¼ãã¦ããã¾ãã æ¯è¼è»¸ã«ã¤ãã¦ã¯ãéçºã«é¢ããäºé ï¼çç£æ§ãã¡ã³ããã³ã¹æ§ãªã©ï¼ãä¸å¿ã«è§£èª¬ãã¦ããã¾ãã第1åã®ä»åã¯O/Rãããã³ã°ãæä¾ãããã¬ã¼ã ã¯ã¼ã¯ã«ã¤ãã¦ã§ãã O/Rãããã³ã°ã¨ã¯ããªãã¸ã§ã¯ãã¨RDBã®ãã¼ãã«ããããã³ã°ãããã¨ãããã¾ããO/Rãããã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã¯ãªãã¸ã§ã¯ãæåã¨RDBã®ä»²ä»äººã¨ãªããã¨ã§ãã¢ããªã±ã¼ã·ã§ã³ã®éçºçç£æ§ãåä¸ããã¾ãã Railsããã¯å梱ã®ãActiveRecordãã¨ããO/Rãããã³ã°ã®ã³ã³ãã¼ãã³ããåãä¸ãã¾ãã対ãã¦Javaã®O/Rãããã³ã°ã¨ãã¦ã¯ããã£ã¨ãç¥å度ãé«ãã¨èãããããHibernateãã¨ãJavaã®æ£å¼ä»æ§ã¨ãã¦çå®ããããJava Pers
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}