แสดงบทความที่มีป้ายกำกับ J2EE Development แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ J2EE Development แสดงบทความทั้งหมด

วันพฤหัสบดีที่ 23 มิถุนายน พ.ศ. 2559

JSON : J2EE Development

-JSON (JavaScript Object Notation)
http://crunchify.com/what-is-json-javascript-object-notation/

-JSON Manipulation
http://crunchify.com/json-manipulation-in-java-examples/

-การเขียน JSON object ไปสู่ File ใน Java
http://crunchify.com/how-to-write-json-object-to-file-in-java/

-การอ่าน JSON Object จาก File ใน Java
http://crunchify.com/how-to-read-json-object-from-file-in-java/

-การแปลง JSON ไปเป็น HTML table ด้วย Converter Script
http://crunchify.com/crunchifyjsontohtml-js-json-to-html-table-converter-script/

-การ Iterate (looping) JSONArray ใน JavaScript
http://crunchify.com/how-to-iterate-through-jsonarray-in-javascript/

-การส่งค่า (Parse) JSONObject และ JSONArrays
http://crunchify.com/java-how-to-parse-jsonobject-and-jsonarrays/

-การ Merge/Concat Multiple JSONObjects ใน Java
http://crunchify.com/how-to-merge-concat-multiple-jsonobjects-in-java-best-way-to-combine-two-jsonobjects/

-JSON Processing API และ การใช้ Pretty Print JSON Output (Gson + Jackson)
http://crunchify.com/java-jsongenerator-json-processing-api-and-how-to-enable-pretty-print-json-output-gson-jackson/

-Escape Character Utility สำหรับ URL และ JSON data
http://crunchify.com/escape-character-utility-for-url-and-json-data-free-to-use-in-your-project/

วันพุธที่ 22 มิถุนายน พ.ศ. 2559

Java Method : J2EE Development


-การใช้งาน Java Method Hiding และ Overriding (Override Static Method ใน Java)
http://crunchify.com/java-method-hiding-and-overriding-override-static-method-in-java/

-ตัวอย่างและวิธีการใช้งาน Java Method Overriding
http://crunchify.com/java-method-overriding-examples-and-concepts-overriding-rules/

-การใช้ Primitive Types Instead ของ Wrapper Classes
http://crunchify.com/java-tip-wherever-possible-try-to-use-primitive-types-instead-of-wrapper-classes/

-การใช้งาน Reflection เพื่อเรียก Java Method ขณะ Runtime
http://crunchify.com/java-reflection-how-to-use-reflection-to-call-java-method-at-runtime/

อะไร คือ Abstract Class และ Abstract Method ใน Java? และเราจะมีวิธีใช้งานอย่างไร
http://crunchify.com/what-is-an-abstract-class-and-abstract-method-in-java-when-should-i-use-it/

-Instance Fields ของ Class Public
http://crunchify.com/java-tips-never-make-an-instance-fields-of-class-public/

-ความแตกต่างระหว่าง throw กับ throws ใน Java
http://crunchify.com/what-is-a-difference-between-throw-vs-throws-in-java/

Reference : http://chimera.labs.oreilly.com/books/1234000001805/ch06.html#learnjava3-CHP-6-SECT-6.2

Java HTTP : J2EE Development



-การส่งข้อความ URL ด้วย HTTP request GET/POST ใน Java
http://crunchify.com/java-url-example-getting-text-from-url/

-วิธีการรับ HTTP Response Header ใน Java
http://crunchify.com/simple-way-to-get-http-response-header-in-java/

-การส่ง HTTP Request และการรับ Response ใน Java
http://crunchify.com/how-to-send-http-request-and-capture-response-in-java/

-การรับ Entity ContentType ใน HttpClient
http://crunchify.com/java-how-to-get-entity-contenttype-in-httpclient/

-การ Ping Status ของ HTTP End Point ใน Java
http://crunchify.com/how-to-get-ping-status-of-any-http-end-point-in-java/

-การรับค่า Server IP Address และ Hostname ใน Java
http://crunchify.com/how-to-get-server-ip-address-and-hostname-in-java/

-การ Encode หรือ Decode URL String หรือ Form Parameter
http://crunchify.com/java-how-to-encode-or-decode-url-string-or-form-parameter/

-Embedded HTTP Jersey server ระหว่างที่ Java Application เริ่มทำงาน
http://crunchify.com/how-to-start-embedded-http-jersey-server-during-java-application-startup/

-Enable HTTPS หรือ SSL ของ Apache Tomcat Server – Port 8443
http://crunchify.com/step-by-step-guide-to-enable-https-or-ssl-correct-way-on-apache-tomcat-server-port-8443/

-Social Sharing URLs
http://crunchify.com/list-of-all-social-sharing-urls-for-handy-reference-social-media-sharing-buttons-without-javascript/

Java Github : J2EE Development



-"Stage" กับการใช้งานใน GIT Source Control
http://crunchify.com/git-repository-what-stage-means-in-git-source-control/

-วิธีการอ่าน GitHub File ด้วย HttpURLConnection กับ ConvertStreamToString()
http://crunchify.com/in-java-how-to-read-github-file-contents-using-httpurlconnection-convert-stream-to-string-utility/

-วิธีการเข้าถึง Github Content ด้วย OAuth Authentication ใน Java (HTTPClient หรือ URLConnection Method)
http://crunchify.com/how-to-access-github-content-with-basic-oauth-authentication-in-java-httpclient-or-urlconnection-method/

Java Collections : J2EE Development


-ความแตกต่างระหว่าง HashSet และ TreeSet ใน Java
http://crunchify.com/java-hashset-vs-treeset/

-อะไร คือ Java Collections Framework
http://crunchify.com/what-is-java-collections-framework-benefits-of-collections-framework/

-Java Collections (hashCode() และ equals())
http://crunchify.com/how-to-override-equals-and-hashcode-method-in-java/

-Java Synchronized Collections (java.util.Collections)
http://crunchify.com/java-synchronized-collections-examples-java-util-collections/

-วิธีการใช้ Map กับ Values (Map Interface)
http://crunchify.com/java-how-to-sort-a-map-on-the-values-the-map-interface-java-collections/

-เปรียบเทียบ Performance และความแตกต่างระหว่าง IdentityHashMap และ HashMap
http://crunchify.com/in-java-what-is-a-difference-between-identityhashmap-and-hashmap-performance-comparision/

-HashMap Vs. ConcurrentHashMap Vs. SynchronizedMap
http://crunchify.com/hashmap-vs-concurrenthashmap-vs-synchronizedmap-how-a-hashmap-can-be-synchronized-in-java/

-ตรวจสอบด้วย Key/Value ที่อยู่ภายใน Map ด้วย Java Hashmap (containsKey(Object key) และ containsValue(Object value))
http://crunchify.com/java-hashmap-containskeyobject-key-and-containsvalueobject-value-check-if-key-exists-in-map/

วันอังคารที่ 21 มิถุนายน พ.ศ. 2559

Java Spring Framework : J2EE Development

-Spring 3.x.x และ 4.x.x MVC Framework
http://crunchify.com/spring-mvc-introduction-to-spring-3-mvc-framework/

-การใช้ Bean ใน Spring Application
http://crunchify.com/spring-mvc-how-to-declare-a-bean-in-spring-application/

-วิธีใช้ AJAX, jQuery ใน Spring Web MVC (.jsp)
http://crunchify.com/how-to-use-ajax-jquery-in-spring-web-mvc-jsp-example/

-การอัพเดต Sparkline Graph ทุกๆ 3 วินาทีใน Spring MVC (Realtime Update)
http://crunchify.com/how-to-update-sparkline-graph-every-3-seconds-in-spring-mvc-realtime-update/

-Spring MVC Project
http://crunchify.com/working-on-spring-mvc-project-how-to-report-list-of-all-loaded-spring-beans-during-startup/

-Spring MVC 4.1.X (การรับส่ง Email ด้วย org.springframework.mail. javamail.JavaMailSenderImpl)
http://crunchify.com/spring-mvc-4-1-x-simple-way-to-send-an-email-using-org-springframework-mail-javamail-javamailsenderimpl/

-Spring Framework 4.2.3 @Order Annotation (การจัดเรียงลำดับด้วย Annotated Bean Component)
http://crunchify.com/spring-framework-4-order-annotation-tutorial-sort-order-for-an-annotated-component/

Java String Collection : J2EE Development



-การใช้ StringTokenizer และ String Split
http://crunchify.com/java-stringtokenizer-and-string-split-example/

-การแปลงจาก HashMap ไปสู่ ArrayList ใน Java
http://crunchify.com/how-to-convert-hashmap-to-arraylist-in-java/

-การสร้าง Java eNum
http://crunchify.com/why-and-for-what-should-i-use-enum-java-enum-examples/

-การแปลง Byte[] Array ไปเป็น String
http://crunchify.com/java-how-to-convert-byte-array-to-string/

-การแปลง Char Array ไปเป็น String
http://crunchify.com/java-two-ways-to-convert-char-array-to-string/

-การแปลง String ไปเป็น Char Array
http://crunchify.com/java-simple-way-to-convert-string-to-char-array/

-การหา Unique Values ใน ArrayList โดยใช้ TreeSet, HashSet
http://crunchify.com/java-how-to-find-unique-values-in-arraylist-using-treeset-hashset/

-การ Reverse String ใน Java
http://crunchify.com/how-to-reverse-a-string-in-java/

-การหา Elements ที่เหมือนกันใน UnSorted Array
http://crunchify.com/how-to-find-common-elements-of-two-unsorted-array/

-การ Replace/Remove Characters จาก String
http://crunchify.com/java-program-to-replaceremove-characters-from-string/

-การ Duplicate Elements จาก List
http://crunchify.com/java-how-to-find-duplicate-elements-from-list/

-การตรวจสอบ String ด้วยการ Substring
http://crunchify.com/java-how-to-check-if-a-string-contains-a-substring-implement-your-own-method/

-การรวมกันทั้ง 2 Arrays โดยใช้ Primitive Data Types (โดยไม่ใช้ Java Collection)
http://crunchify.com/java-union-of-two-arrays-using-primitive-data-types-dont-use-java-collection/

-การรวมกันทั้ง 2 Arrays โดยใช้ Java Collection Class
http://crunchify.com/java-union-of-two-arrays-using-java-collection-class/

-การแปลง Arrays ไปเป็น Set
http://crunchify.com/java-collection-how-to-convert-arrays-to-set/

-การ Swap สมาชิกด้วยวิธีที่นอกเหนือจากการใช้ Temp Variable
http://crunchify.com/java-how-to-swap-two-members-without-using-temp-variable/

-การหา Permutations ของ String
http://crunchify.com/how-to-find-all-permutations-of-a-string-in-java-example/

-การเปรียบเทียบ Arrays โดยใช้ Equal
http://crunchify.com/best-way-to-compare-if-two-arrays-are-equal/

-การกำหนด Non-Empty String Like -Code- Return a String Like -CCoCodCode-
http://crunchify.com/java-given-a-non-empty-string-like-code-return-a-string-like-ccocodcode/

-รู้จักกับ Java Static Methods, Variables, Static Block and Class with Example
http://crunchify.com/java-static-methods-variables-static-block-and-class-with-example/

-การหา Duplicate Character จาก String ใน Java
http://crunchify.com/best-way-to-find-duplicate-character-from-a-string-in-java/

-การใช้ CopyOnWriteArrayList กับ ArrayList ใน Java
http://crunchify.com/copyonwritearraylist-vs-arraylist-in-java-comparison-and-example/

-ArrayBlockingQueue กับ Google Guava Non-Blocking EvictingQueue
http://crunchify.com/arrayblockingqueue-vs-google-guava-non-blocking-evictingqueue-example/

-การเปรียบเทียบ String Arrays, Integer Arrays และ Strings ใน Java
http://crunchify.com/best-way-to-compare-string-arrays-int-arrays-and-strings-in-java-crunchifycompare-utility-for-your-project/

-การเปรียบเทียบ Java eNum Comparison ด้วย Equals (==) operator, Switch-Case statement และ .equals() method)
http://crunchify.com/java-enum-comparison-using-equals-operator-switch-case-statement-and-equals-method-complete-example/

Java Thread : J2EE Development



-Thread-Safe และ Fast Singleton Implementation (Singleton Design Pattern ใน java)
http://crunchify.com/thread-safe-and-a-fast-singleton-implementation-in-java/

-อะไร คือ Daemon Thread ใน Java
http://crunchify.com/what-is-daemon-thread-in-java-example-attached/

-Process ID และ Live Threads ของ Java Application
http://crunchify.com/how-to-get-process-id-and-live-threads-of-a-java-application/

-การทดสอบหลาย Threads ใน Java
http://crunchify.com/how-to-run-multiple-threads-concurrently-in-java-executorservice-approach/

-การ Start/Spawn เพื่อสร้าง Thread ใน Background ของ Java
http://crunchify.com/how-to-startspawn-new-thread-in-background-in-java/

-การสร้าง Java Deadlock Programmatically และการวิเคราะห์ Deadlock
http://crunchify.com/how-to-generate-java-deadlock-programmatically-and-how-to-analyze-deadlock/

-การสร้าง Java Thread Dump Programmatically
http://crunchify.com/how-to-generate-java-thread-dump-programmatically/

-Exception ใน thread main (java.lang.CloneNotSupportedException)
http://crunchify.com/how-to-avoid-exception-in-thread-main-java-lang-clonenotsupportedexception/

-การสร้าง Lazy Singleton ThreadSafe นอกเหนือจาก Synchronized Keyword
http://crunchify.com/lazy-creation-of-singleton-threadsafe-instance-without-using-synchronized-keyword/

-การปรับปรุง Simple Threadsafe Cache ด้วย HashMap นอกเหนือจากการใช้ Synchronized Collection
http://crunchify.com/implement-simple-threadsafe-cache-using-hashmap-without-using-synchronized-collection/

-เงื่อนไขที่มีผลใน Java Multi-threading Concurrency
http://crunchify.com/have-you-noticed-race-condition-in-java-multithreading-concurrency-example-how-to-deal-with-it/

-Threadsafe BlockingQueue ใน Java
http://crunchify.com/what-is-threadsafe-blockingqueue-in-java-and-when-you-should-use-it-implementation-attached/

-ตัวอย่าง Simple Thread
http://crunchify.com/java-simple-thread-example/

-ตัวอย่าง Thread State
http://crunchify.com/java-thread-state-introduction-with-example/

-การสร้าง Timer Object สำหรับ Execution ภายใน Background Thread (Timer.schedule())
http://crunchify.com/java-create-a-timer-object-for-future-execution-in-a-background-thread/

-อะไร คือ Java Semaphore และ Mutex (Java Concurrency MultiThread)
http://crunchify.com/what-is-java-semaphore-and-mutex-java-concurrency-multithread-explained-with-example/

Java Framework : J2EE Development



Top 10 Java Interview Questions 
http://crunchify.com/top-10-java-interview-questions-answers-must-read-before-appearing-for-any-java-interview/

Java Annotations 
-ทำความเข้าใจกับ Java Annotations
http://crunchify.com/understanding-java-annotation-annotation-examples/

Java Calendar
-การเพิ่มนาทีที่ Calendar Object
http://crunchify.com/java-how-to-add-n-minutes-to-calendar-data-object/

Java Cookies
-การจัดการ Java Servlet Session ด้วย Cookies
http://crunchify.com/how-to-do-java-servlet-session-management-using-cookies/

Java Date
-การคำนวณเวลาด้วย Java Date
http://crunchify.com/how-to-calculate-the-difference-between-two-java-date-instances/

Java Mail
-การส่ง Email ด้วย Java MailAPI กับวิธีการเพิ่มไฟล์รูปขนาดใหญ่เพื่อส่ง E-mail
http://crunchify.com/how-send-email-using-java-mailapi-with-large-image-attachment/

-ตัวอย่าง Java MailAPI (การส่ง Email ด้วย GMail SMTP (TLS Authentication))
http://crunchify.com/java-mailapi-example-send-an-email-via-gmail-smtp/

-การสร้าง Validate Email Address ด้วย Java Mail API
http://crunchify.com/how-to-validate-email-address-using-java-mail-api/

Java Exception
-การเกิด Exception ใน thread “main” java.lang.UnsupportedClassVersionError: (com/crunchify/Main : Unsupported major.minor version 51.0)
http://crunchify.com/exception-in-thread-main-java-lang-unsupportedclassversionerror-comcrunchifymain-unsupported-major-minor-version-51-0/

-การกำหนดวิธีตรวจสอบและไม่ตรวจสอบ Exceptions
http://crunchify.com/better-understanding-on-checked-vs-unchecked-exceptions-how-to-handle-exception-better-way-in-java/

-java.lang.UnsatisfiedLinkError
http://crunchify.com/how-to-fix-java-lang-unsatisfiedlinkerror-no-snappyjava-in-java-library-path-error/

Java Hibernate
-พื้นฐานการใช้ Hibernate
http://crunchify.com/lessons-to-learn-fundamental-of-hibernate-core-implementation/

Java Interface
-วิธีใช้งาน Java Interface
http://crunchify.com/what-is-an-interface-in-java-how-its-used-java-tutorial-example-attached/

Java IO
-วิธีการบันทึกและโหลดข้อมูลจากไฟล์ (I/O Read-Write Operation)
http://crunchify.com/java-saving-and-loading-data-from-a-file-simple-production-ready-utility-for-file-readwrite-operation/

-Java NIO (Non-blocking I/O) กับตัวอย่างการใช้งานระหว่าง Server-Client (java.nio.ByteBuffer และ channels.Selector : Java NIO Vs. IO)
http://crunchify.com/java-nio-non-blocking-io-with-server-client-example-java-nio-bytebuffer-and-channels-selector-java-nio-vs-io/

Java Iterate Loop
-5 วิธีที่จะ Iterate Through Loop ใน Java
http://crunchify.com/how-to-iterate-through-java-list-4-way-to-iterate-through-loop/

-พื้นฐาน Java Iterator, ListIterator และ ConcurrentModificationException
http://crunchify.com/java-iterator-listiterator-fundamentals-concurrentmodificationexception/

Java JDBC
-ความแตกต่าง ระหว่าง JDBC’s Statement, PreparedStatement และ CallableStatement
http://crunchify.com/what-are-the-difference-between-jdbcs-statement-preparedstatement-and-callablestatement/

-การเชื่อมต่อ JDBC กับ MySQL ด้วย BasicDataSource
http://crunchify.com/java-what-is-basicdatasource-how-to-create-basicdatasource-object/

-การเชื่อมต่อ JDBC กับ Oracle Database และตัวอย่างการ ExecuteQuery ใน Java
http://crunchify.com/simple-oracle-database-jdbc-connect-and-executequery-example-in-java/

Java Jar File
http://crunchify.com/in-java-how-to-find-list-of-all-class-names-from-inside-jar-file-jar-class-finder-utility/

Java JUnit
-การใช้ JUnit 4.x
http://crunchify.com/simple-junit-4-tutorial-hello-world-example/

Java 8 Stream API Operations and Lambda Expression
http://crunchify.com/java-8-stream-operations-and-lambda-expression-tutorial/

Java Log4j
-การ configure log4j.properties และตัวอย่างการใช้งาน Program
http://crunchify.com/java-how-to-configure-log4j-logger-property-correctly/

-การกำหนด Logging Level ใน Log4j (Configuring Log4j)
http://crunchify.com/java-how-to-create-your-own-logging-level-in-log4j-configuring-log4j/

-การสร้าง Logging สำหรับ Enterprise Java Application
http://crunchify.com/better-logging-for-your-enterprise-java-application-crunchifybetterlog4jlogging-java/

-การแสดง ERROR StatusLogger No log4j2
http://crunchify.com/error-statuslogger-no-log4j2-configuration-file-found-using-default-configuration-logging-only-errors-to-the-console/

-การใช้ Log File Tailer (tail -f) ใน Java
http://crunchify.com/log-file-tailer-tail-f-implementation-in-java-best-way-to-tail-any-file-programmatically/

Java OSGi
-เข้าใจในหลักของ OSGi โดยใช้หลัก Puzzle Approach
http://crunchify.com/understand-osgi-concepts-try-to-follow-the-puzzle-approach/

Java Package
-การ Import Packages
http://crunchify.com/java-simple-way-to-import-all-missing-packages-at-once/

Java Prime Number
-การค้นหา Prime Number ใน Java
http://crunchify.com/in-java-how-to-find-if-number-is-prime-or-not-best-way-to-generate-prime-number-in-java/

Java QR Code
-การสร้าง QR Code Generator
http://crunchify.com/java-simple-qr-code-generator-example/

Java Random
-การ Random Number ในภาษา Java
http://crunchify.com/how-to-generate-random-number-in-java-with-some-variations/

-การ Random Key-Value Element จากการใช้ HashMap
http://crunchify.com/java-how-to-get-random-key-value-element-from-hashmap/

Java Regular Expression
-อะไร คือ RegEx Pattern (Regular Expression)
http://crunchify.com/what-is-regex-pattern-regular-expression-how-to-use-it-in-java-example-attached/

Java Secure
-UUID, UID, SecureRandom หรือ MessageDigest
http://crunchify.com/uuid-uid-random-or-messagedigest-number-of-ways-to-create-unique-idkey-in-java/

Java SVN
-การ Setup WordPress Plugin ใน Eclipse และการใช้งาน SVN สำหรับ WordPress Plugin Development
http://crunchify.com/eclipse-and-wordpress-plugin-svn-repository-connectivity/

Java Timer
-Operation n Number ของ Times
http://crunchify.com/how-to-retry-operation-n-number-of-times-in-java/

-การ Convert Time ระหว่าง Timezone
http://crunchify.com/how-to-convert-time-between-timezone-in-java/

-Java Timer และ TimerTask
http://crunchify.com/java-timer-and-timertask-reminder-class-tutorials-example/

-Java 8 java.time.temporal.TemporalAdjusters และ Stream.flatMap()
http://crunchify.com/java-8-temporaladjusters-and-stream-flatmap-tutorial/

-การลบ Expired Elements จาก HashMap และการเพิ่ม Elements
http://crunchify.com/clean-expired-element-from-map-while-adding-elements-at-the-same-time-java-timer-timertask-and-futures-complete-examples/

Java Transaction
-Lock(), UnLock(), ReentrantLock(), TryLock() และความแตกต่างระหว่าง Synchronized Block ใน Java
http://crunchify.com/what-is-lock-unlock-reentrantlock-trylock-and-how-its-different-from-synchronized-block-in-java/

Java Command
-การแสดง Name Server  Java โดยใช้ Dig command
http://crunchify.com/best-way-to-get-any-domains-zone-records-mx-and-name-server-in-java-using-dig-command/

Java Reflection
-การสร้าง Java POJO ด้วย Reflection API (ClassName, DeclaredFields, ObjectType, SuperType)
http://crunchify.com/create-simple-pojo-and-multiple-java-reflection-examples/

Java XML
-วิธีการนับจำนวน XML Elements ใน Java
http://crunchify.com/simple-way-to-count-number-of-xml-elements-in-java/

-วิธีการเขียน XML (DOM) File ใน Java
http://crunchify.com/java-simple-way-to-write-xml-dom-file-in-java/

-วิธีการใช้งาน XML XPath Parser ทำอย่างไรถึงจะส่งข้อมูล XML โดยใช้ XPath ใน Java
http://crunchify.com/java-xml-xpath-parser-how-to-parse-xml-document-using-xpath-in-java/

Java File
-การ Upload หลาย Files โดยกำหนด Location ใช้งานเฉพาะ
http://crunchify.com/spring-mvc-tutorial-how-to-upload-multiple-files-to-specific-location/

Java Linux
-tcpdump Linux Command ด้วย Java Process Class และ TCP/IP Packets
http://crunchify.com/how-to-execute-tcpdump-linux-command-using-java-process-class-and-capture-tcpip-packets/

-การใช้ Regular Expression (RegEx)
http://crunchify.com/what-is-uptime-in-linux-and-how-to-parse-result-in-java-using-regular-expression-regex/

Java Packages
http://crunchify.com/java-simple-way-to-import-all-missing-packages-at-once/

Java Design Pattern
-Factory Design Method Pattern
http://crunchify.com/java-factory-design-method-pattern-object-oriented-design-design-patterns/

-Singleton Object & Employee (Java POJO & Detailed TestCase)
http://crunchify.com/complete-end-to-end-java-tutorial-with-singleton-object-employee-crunchify-object-pojo-detailed-testcase/

Java Utils
-java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException?
http://crunchify.com/org-apache-catalina-lifecycleexception/

-fix “org.eclipse.jst.ws.util.JspUtils cannot be resolved to a type” เพื่อแก้ปัญหา Error ใน Eclipse
http://crunchify.com/how-to-fix-org-eclipse-jst-ws-util-jsputils-cannot-be-resolved-to-a-type-error-in-eclipse/

-Java Regex (java.util.regex.Matcher)
http://crunchify.com/java-regular-expression-matcher-all-in-one-tutorial/

-java.util.Map และ java.util.List ใน Java 8
http://crunchify.com/in-java-8-how-to-iterate-through-java-util-map-and-java-util-list-example-attached-with-total-5-different-ways/

Java JSP
-JSP file validation ใน Eclipse
http://crunchify.com/how-to-exclude-jsp-file-validation-in-eclipse/

Java Algorithm : J2EE Development


-การเขียน Bubble Sort Algorithm (Descending Order)
http://crunchify.com/java-bubble-sort-algorithm-descending-order-sample/

-การเขียน Bubble Sort Algorithm (Ascending Order)
http://crunchify.com/java-bubble-sort-algorithm-ascending-order-sample/

-LinkedList Instance ใน Java
http://crunchify.com/how-to-iterate-through-linkedlist-instance-in-java/

-การเขียน Fibonacci Series (N Number)
http://crunchify.com/write-java-program-to-print-fibonacci-series-upto-n-number/

-การหา Middle Element ของ LinkedList
http://crunchify.com/java-how-to-find-middle-element-of-linkedlist/

-LinkedList Class ใน Java
http://crunchify.com/how-to-implement-a-linkedlist-class-from-scratch-in-java/

-ตัวอย่าง Singly Linked List Implementation ใน Java
http://crunchify.com/a-simple-singly-linked-list-implementation-in-java/

-การสร้าง Singleton QUEUE Global Object (FIFO (First in First Out))
http://crunchify.com/how-to-create-singleton-queue-global-object-for-fifo-first-in-first-out-in-java/

-การกำหนด Non-Blocking โดยกำหนด Size Queue ใน Java
http://crunchify.com/how-to-create-your-own-non-blocking-queue-in-java-same-as-evictingqueue/

Eclipse Management : J2EE Development


-การสร้าง Shortcuts ใน Eclipse
http://crunchify.com/some-of-very-important-eclipse-shortcuts/

-การสร้าง Shortcuts ใน Eclipse ของ MAC และ Windows
http://crunchify.com/my-favorite-eclipse-shortcuts-for-mac-and-windows/

-การเพิ่ม Eclipse Memory Size เพื่อแก้ปัญหา OutOfMemory (OOM) ระหว่าง Startup
http://crunchify.com/increase-eclipse-memory-size-to-avoid-oom-on-startup/

-การทดสอบ OutOfMemory (OOM)
http://crunchify.com/java-iterator-outofmemory-oom-scenario/

-พื้นฐานการ Tuning JVM : Heapsize, Stacksize และ Garbage Collection
http://crunchify.com/jvm-tuning-heapsize-stacksize-garbage-collection-fundamental/

-Java Runtime: พื้นที่การใช้งานของหน่วยความจำใน Java
http://crunchify.com/java-runtime-get-free-used-and-total-memory-in-java/

-การแสดงเวลาการใช้งานของ JVM
http://crunchify.com/java-how-to-get-the-start-time-of-a-jvm/

-การแสดงเวลาการใช้งานของ JVM ทาง Programmatically
http://crunchify.com/how-to-get-the-up-time-of-a-jvm-programmatically/

-การ Run Windows/Mac Commands ใน JAVA และ Return Text ออกมา
http://crunchify.com/how-to-run-windowsmac-commands-in-java-and-return-the-text-result/

-การตั้งค่า JVM Heap (-Xms -Xmx) ของ Tomcat (Configure setenv.sh file, Run catalina.sh)
http://crunchify.com/how-to-change-jvm-heap-setting-xms-xmx-of-tomcat/

-System Properties Information Programmatically
http://crunchify.com/java-how-to-get-system-properties-information-programmatically/

-Out Of Memory (OOM) ใน Java Programatically
http://crunchify.com/how-to-generate-out-of-memory-oom-in-java-programatically/

-Memory Cache ใน Java
http://crunchify.com/how-to-create-a-simple-in-memory-cache-in-java-lightweight-cache/

-ตัวอย่าง Java FutureTask ด้วย Callable และ Runnable
http://crunchify.com/crunchify-java-futuretask-example-with-callable-and-runnable/

-การแสดง List ของ Processes ด้วย Java
http://crunchify.com/how-to-get-a-list-of-current-open-processes-with-java/

-การย้าย Java Project ไปที่ Maven ใน Eclipse?
http://crunchify.com/how-to-convert-existing-java-project-to-maven-in-eclipse/

-ปัญหา java.lang.NullPointerException (NPE)
http://crunchify.com/have-you-noticed-nullpointerexception-npe-there-are-few-best-practices-to-avoid-npe/

-การใช้ ResourceBundle.getBundle เพื่อรับ Properties ขณะ Runtime ใน Java
http://crunchify.com/how-to-use-resourcebundle-getbundle-to-get-properties-value-at-runtime-in-java/

วันจันทร์ที่ 20 มิถุนายน พ.ศ. 2559

Dynamic Web Project : J2EE Development

-การสร้าง Dynamic Web Project
http://crunchify.com/convert-java-project-to-dynamic-web-project-in-eclipse-environment/

-การสร้างและ Deploy Simple Web Service และ Web Service Client ใน Eclipse
http://crunchify.com/create-and-deploy-simple-web-service-and-web-service-client-in-eclipse/

-เริ่มต้น WSDL (Web Service Definition Language)
http://crunchify.com/web-service-definition-language-sample-helloworld-wsdl/

-การสร้าง WSDL ใน Eclipse และการ Generate Client
http://crunchify.com/create-sample-wsdl-in-eclipse-and-generate-client/

-การ Build RESTful Service ด้วย Java โดยใช้ JAX-RS และ Jersey
http://crunchify.com/how-to-build-restful-service-with-java-using-jax-rs-and-jersey/

-คุณสมบัติของ Methods ใน RESTful Web Service (Java API สำหรับ RESTful Web Services)
http://crunchify.com/specifications-methods-in-restful-web-service/

-web.xml file หายไปไหน ? วิธีการสร้าง web.xml ใน Eclipse ทำอย่างไร?
http://crunchify.com/eclipse-missing-web-xml-file-how-can-i-create-web-xml-in-eclipse/

-การกำหนด Configuration ใน Context Root
http://crunchify.com/two-or-more-web-modules-defined-in-the-configuration-have-the-same-context-root-example/

-การสร้าง Dynamic Web Project ด้วย Maven ใน Eclipse
http://crunchify.com/how-to-create-dynamic-web-project-using-maven-in-eclipse/

-การสร้าง JavaScript เพื่อแจ้งเตือนการกรอก Email และ Password ในหน้าลงทะเบียน
http://crunchify.com/javascript-function-to-validate-email-password-fields-on-from-submit-event/

-การสร้าง RESTful Java Client ด้วย Jersey Client
http://crunchify.com/how-to-create-restful-java-client-with-jersey-client-example/

-การสร้าง RESTful Java Client ด้วย Java.Net.URL
http://crunchify.com/how-to-create-restful-java-client-with-java-net-url-example/

-jar ไม่โหลด ? : javax/servlet/Servlet.class
http://crunchify.com/jar-not-loaded-see-servlet-spec-2-3-section-9-7-2-offending-class-javaxservletservlet-class/

-Java Properties File : การอ่านค่า config.properties ใน Java?
http://crunchify.com/java-properties-file-how-to-read-config-properties-values-in-java/

-Java Properties Files: การอ่านเปลี่ยนแปลงค่า config.properties ใน Java?
http://crunchify.com/java-properties-files-how-to-update-config-properties-file-in-java/

-Exception HttpServlet (servlet-api.jar Maven Dependency)
http://crunchify.com/how-to-resolve-exception-httpservlet-cannot-be-resolved-to-a-type/

-การสร้าง RESTful Java Client ด้วย Apache HttpClient
http://crunchify.com/how-to-create-restful-java-client-using-apache-httpclient-example/

-การสร้าง Serialize Deserialize List ของ Objects ใน Java? (Java Serialization)
http://crunchify.com/how-to-serialize-deserialize-list-of-objects-in-java-java-serialization-example/

-การสร้าง Servlet ด้วย JSP
http://crunchify.com/servlet-tutorial-getting-starting-with-jsp-servlet-example/

-SOAP กับ REST : Simple Object Access Protocol กับ REpresentational State Transfer
http://crunchify.com/soap-vs-rest-simple-object-access-protocol-vs-representational-state-transfer/

-การ Copy Properties จาก 1 Bean ไปในหลายๆ Bean
http://crunchify.com/java-how-to-copy-properties-from-one-bean-to-another/

-ทดสอบ Restful Web Service ด้วย Jmeter (การทำ Load Test)
http://crunchify.com/how-to-hit-your-restful-web-service-using-jmeter-perform-a-simple-load-test/

-การให้ข้อมูล Domain Name หรือ Website
http://crunchify.com/how-to-find-information-on-any-domain-name-or-website-java-whois-example/

-การ Setup/Install Maven Classpath Variable ใน Windows
http://crunchify.com/how-to-setupinstall-maven-classpath-variable-on-windows-7/

-การสร้าง Jersey REST Service และการส่ง JSON Data จาก Java Client
http://crunchify.com/create-very-simple-jersey-rest-service-and-send-json-data-from-java-client/

-การสร้าง “Dynamic Web Module 3.1 โดยใช้ Java 1.7 หรือใหม่กว่า” ใน Eclipse
http://crunchify.com/how-to-solve-dynamic-web-module-3-1-requires-java-1-7-or-newer-in-eclipse/

-การอ่านค่า config.properties ด้วย Spring ‘singleton’ Scope ใน Java Enterprise Application
http://crunchify.com/read-config-properties-value-using-spring-singleton-scope-in-your-java-enterprise-application/

-อะไร คือ Cross-Origin Resource Sharing (CORS) และวิธีการเพิ่มเข้าไปใน Java Jersey Web Server ทำอย่างไร?
http://crunchify.com/what-is-cross-origin-resource-sharing-cors-how-to-add-it-to-your-java-jersey-web-server/

-การสร้างและ Build Java Project รวมทั้งการกำหนด Dependencies โดยใช้ Maven? (maven-resources, maven-dependency และ maven-jar Plugins)
http://crunchify.com/how-to-create-build-java-project-including-all-dependencies-using-maven-maven-resources-maven-dependency-maven-jar-plugin-tutorial/

-‘maven-shade-plugin’: การสร้าง Java Spring ด้วย .jar กับการกำหนด Dependencies, Properties และ Resources?
http://crunchify.com/how-to-create-only-one-executable-jar-file-with-all-required-jars-properties-and-resources/

-การสร้าง .war file จาก Eclipse โดยใช้ Maven Plugin? การใช้ "maven-war-plugin"
http://crunchify.com/how-to-create-a-war-file-from-eclipse-using-maven-plugin-apache-maven-war-plugin-usage/

-maven-assembly-plugin: การสร้าง ".tar.gz’ หรือ ‘.zip’"
http://crunchify.com/maven-assembly-plugin-how-to-create-tar-gz-or-zip-archive-for-java-enterprise-project-using-maven/

-การลง Maven บน Mac OS X? และการ Fix UnsupportedClassVersion Error: org/apache/maven /cli/MavenCli
http://crunchify.com/how-to-install-maven-on-mac-os-x-manually-fix-unsupportedclassversionerror-orgapachemavenclimavencli/

-ไม่สามารถอ่าน ZIP file (วิธีการ fix Maven Build Path Error กับ corrupted .jar file)
http://crunchify.com/cannot-be-read-or-is-not-a-valid-zip-file-how-to-fix-maven-build-path-error-with-corrupted-jar-file/

-การ fix ที่ไม่สามารถเปลี่ยน version ของ project facet Dynamic Web Module ใน Eclipse
http://crunchify.com/how-to-fix-cannot-change-version-of-project-facet-dynamic-web-module-to-3-0-error-in-eclipse/

-การสร้าง Maven Project ใน Eclipse
http://crunchify.com/how-to-create-new-simple-maven-project-in-eclipse-without-archtype-detailed-steps-included/

-การเขียน Java เพื่อตรวจสอบการเชื่อมต่อผ่าน Socket
http://crunchify.com/in-java-jow-to-check-if-socket-is-alive-and-connection-is-active-on-specific-port-issocketalive-utility/

-การตั้งค่า .xml file ใน Eclipse?
http://crunchify.com/missing-maven-settings-xml-file-for-your-eclipse-what-if-you-need-two-settings-xml-file-for-work-personal-workspace/

-พื้นฐานโครงสร้าง WSDL (Web Service Description Language)
http://crunchify.com/basic-wsdl-structure-understanding-wsdl-explained/

Apache Tomcat Resource : J2EE Development


-วิธีการ Start และ Stop Apache Tomcat Server ผ่าน Command Line โดยการ Setup ที่ Windows Service
http://crunchify.com/how-to-start-stop-apache-tomcat-server-via-command-line-setup-as-windows-service/

-การ Get Tomcat Directory Path ในภาษา Java
http://crunchify.com/how-to-get-tomcat-directory-path-in-java/

-การ Run Multiple Tomcat Instances ใน 1 Server
http://crunchify.com/how-to-run-multiple-tomcat-instances-on-one-server/

-การ Run Java Program Automatically จากการตั้งค่าของ Tomcat
http://crunchify.com/how-to-run-java-program-automatically-on-tomcat-startup/

-ขั้นตอนการลง Apache Tomcat Server ใน Eclipse Development Environment (IDE)
http://crunchify.com/step-by-step-guide-to-setup-and-install-apache-tomcat-server-in-eclipse-development-environment-ide/

-การแสดง Error ขณะเริ่มต้น Start Apache Tomcat server เนื่องจากหา JRE ไม่เจอ
http://crunchify.com/error-starting-apache-tomcat-server-the-jre-could-not-be-found-edit-the-server-and-change-the-jre-location/

-การเพิ่ม HeapSize ของ Apache Tomcat (JVM Heap) ใน Eclipse IDE (integrated development environment) เพื่อแก้ปัญหา OutOfMemory
http://crunchify.com/how-to-increase-tomcat-heapsize-jvm-heap-in-eclipse-ede/