Vijitha Kumara

Bartender
+ Follow
since Mar 24, 2008
Vijitha likes ...
Hibernate Fedora Chrome
Cows and Likes
Cows
Total received
72
In last 30 days
0
Total given
65
Likes
Total received
102
Received in last 30 days
0
Total given
169
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vijitha Kumara

Hello Jules,

Welcome to CodeRanch!

I believe you have done some programming before/during your courses?

In the beginning just try to go through the samples given by the framework and try to work on them. They should normally work by just following the steps with not much of an effort. Only when you need to work on more real/advanced cases you may have to research further. But if you have a general programming experience then it should be easy to adapt.

But if you have not used any framework before then i think the best way is to just follow the steps in the guides/documentation of the framework. Then you can look in to other areas like using maven for example separately so you have more understanding about some of the core concepts which will help you to use the framework effectively. As for the framework try to use a lightweight framework (search for lightweight Java framework you will find many, depend on your preference you can pick either web framework or something else), then study and work on samples (most of the those frameworks have good documentation).

Also try to understand the type of work you are going to do with this, so you will know what areas to focus on early then trying to understand the entire framework first.
T h e . C o d e R a n c h . J o u r n a l - O c t o b e r . 2 0 1 9 . E d i t i o n

Howdy from all the CodeRanch staff, and welcome to the October edition of the CodeRanch Journal.


I n t e r e s t i n g . C o d e R a n c h . F o r u m . P o s t s


* What are the changes to "switch" statements in Java 13?

*  A fellow rancher learns how to construct/use lambdas

* Ranchers discuss about pros/cons of REST APIs with Java and Node.js

* How to get some help for a project?, a rancher is being helped on various aspects of development

B l o g . E n t r i e s . F r o m . S t a f f


* Jeanne blogs on why it is hard to publish a book with zero errata

* Sanaulla blogs about “Text Blocks” in JDK13

* Jeanne blogs some more techniques for making agile games remote friendly


B o o k . P r o m o t i o n s



There's a book (or software) promotion just about every week at CodeRanch. Just ask a question in the appropriate forum and you're eligible to win a copy of the book (or license).
Check the book promotions schedule.

Some upcoming promotions are:

* Emmy in the Key of Code - Aimee Lucido

* OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 - Jeanne Boyarsky & Scott Selikoff

And a big Congratulations to our past Winners


B o o k s . A n d . R e v i e w s


We have several forums dedicated to talk about books. You can read some interesting reviews and recommendations from the CodeRanch staff in our Book Reviews forum.


Please check out the latest reviews (also available on our book review grid: Book-Review-Grid)


T h e . M o o s e . o n . S o c i a l


The CodeRanch announces latest news/developments frequently on our social media outlets. You can find us at:

  • Twitter - https://twitter.com/coderanch
  • Facebook - https://www.facebook.com/coderanch

  • Follow / Like us so you don't miss a thing.


    A b o u t . T h e . E d i t o r



    Vijitha Kumara has been a member of CodeRanch since 2008 and a Moderator since 2011.

    S u g g e s t i o n s / F e e d b a c k


    If you have any feedback on this month's journal then feel free to create a topic in our Ranch-Office

    J o u r n a l . A r c h i v e


    Our previously published journals are available online at Java-Ranch-Journal
    6 months ago
    That's great, Congrats Jeanne!    
    10 months ago
    Yo may have to provide how you have defined your mappings and your struts configs etc... relevant to this?
    1 year ago
    It's actually the reference type, when you do it in a separate line you still assigning it to the same "Base" type (so line #15 has no effect to line #14 technically). So you can refer whatever available in "Base" type.
    1 year ago
    T h e . C o d e R a n c h . J o u r n a l - F e b r u a r y . 2 0 1 9 . E d i t i o n

    Howdy from all the CodeRanch staff, and welcome to the February edition of the CodeRanch Journal.

    A big congratulations to our newest bartenders Mike London, Claude Moore & Peter Rooke

    I n t e r e s t i n g . C o d e R a n c h . F o r u m . P o s t s


    * How a fellow rancher learns to work with arrays and objects

    * An example of how the members of the Ranch help a novice programmer towards solving a task by providing just the right advices

    * A discussion with an explanation about the differences between a Lambda and method reference in Java 8.


    B l o g . E n t r i e s . F r o m . S t a f f



    * Jeanne blogs about Why not to say “it’s easy”

    * Tim blogs on how to create a custom CentOS dvd


    B o o k . P r o m o t i o n s



    There's a book (or software) promotion just about every week at CodeRanch. Just ask a question in the appropriate forum and you're eligible to win a copy of the book (or license).
    Check the book promotions schedule.

    Some upcoming promotions are:

    * Core Java, Volume II--Advanced Feature - Cay Horstmann

    * Python Continuous Integration and Delivery - Moritz Lenz

    * Head First Go - Jay McGavren

    And a big Congratulations to our past Winners


    B o o k s . A n d . R e v i e w s


    We have several forums dedicated to talk about books. Here are some interesting reviews and recommendations from the CodeRanch staff in our Book Reviews forum.

    *  Java in a Nutshell by Ben Evans and David Flanagan - Jeanne Boyarsky

    * Python Continuous Integration and Delivery by Moritz Lenz - Jeanne Boyarsky

    Please check out the latest reviews (also available on our book review grid: Book-Review-Grid)


    T h e . M o o s e . o n . S o c i a l


    The CodeRanch announces latest news/developments frequently on our social media outlets. You can find us at:

  • Twitter - https://twitter.com/coderanch
  • Facebook - https://www.facebook.com/coderanch

  • Follow / Like us so you don't miss a thing.


    A b o u t . T h e . E d i t o r



    Vijitha Kumara has been a member of CodeRanch since 2008 and a Moderator since 2011.

    S u g g e s t i o n s / F e e d b a c k


    If you have any feedback on this month's journal then feel free to create a topic in our Ranch-Office

    J o u r n a l . A r c h i v e


    Our previously published journals are available online at Java-Ranch-Journal
    1 year ago
    T h e . C o d e R a n c h . J o u r n a l - F e b r u a r y . 2 0 1 9 . E d i t i o n

    Howdy from all the CodeRanch staff, and welcome to the February edition of the CodeRanch Journal.

    A big congratulations to our newest bartenders Mike London, Claude Moore & Peter Rooke

    I n t e r e s t i n g . C o d e R a n c h . F o r u m . P o s t s


    * How a fellow rancher learns to work with arrays and objects

    * An example of how the members of the Ranch help a novice programmer towards solving a task by providing just the right advices

    * A discussion with an explanation about the differences between a Lambda and method reference in Java 8.


    B l o g . E n t r i e s . F r o m . S t a f f



    * Jeanne blogs about Why not to say “it’s easy”

    * Tim blogs on how to create a custom CentOS dvd


    B o o k . P r o m o t i o n s



    There's a book (or software) promotion just about every week at CodeRanch. Just ask a question in the appropriate forum and you're eligible to win a copy of the book (or license).
    Check the book promotions schedule.

    Some upcoming promotions are:

    * Core Java, Volume II--Advanced Feature - Cay Horstmann

    * Python Continuous Integration and Delivery - Moritz Lenz

    * Head First Go - Jay McGavren

    And a big Congratulations to our past Winners


    B o o k s . A n d . R e v i e w s


    We have several forums dedicated to talk about books. Here are some interesting reviews and recommendations from the CodeRanch staff in our Book Reviews forum.

    *  Java in a Nutshell by Ben Evans and David Flanagan - Jeanne Boyarsky

    * Python Continuous Integration and Delivery by Moritz Lenz - Jeanne Boyarsky

    Please check out the latest reviews (also available on our book review grid: Book-Review-Grid)


    T h e . M o o s e . o n . S o c i a l


    The CodeRanch announces latest news/developments frequently on our social media outlets. You can find us at:

  • Twitter - https://twitter.com/coderanch
  • Facebook - https://www.facebook.com/coderanch

  • Follow / Like us so you don't miss a thing.


    A b o u t . T h e . E d i t o r



    Vijitha Kumara has been a member of CodeRanch since 2008 and a Moderator since 2011.

    S u g g e s t i o n s / F e e d b a c k


    If you have any feedback on this month's journal then feel free to create a topic in our Ranch-Office

    J o u r n a l . A r c h i v e


    Our previously published journals are available online at Java-Ranch-Journal
    1 year ago
    T h e . C o d e R a n c h . J o u r n a l - S e p t e m b e r . 2 0 1 8 . E d i t i o n


    Howdy from all the CodeRanch staff, and welcome to the September 2018 edition of the CodeRanch Journal.


    I n t e r e s t i n g . C o d e R a n c h . F o r u m . P o s t s


  • Good discussion on how the test classes can be designed
  • A newbie to programming learn some of the key OOP concepts
  • One could learn some interesting things from the Ranch’s own open source project, Ranch Corral
  • You will find some good explanation on different tags used in some web frameworks



  • B l o g . E n t r i e s . F r o m . S t a f f


  • Mohamed blogs about some basic samples on how to work with Java 8 Date & Time API
  • Jeanne blogs her experience with Convert to Pipeline plugin for Jenkins



  • B o o k . P r o m o t i o n s


    There's a book (or software) promotion just about every week at CodeRanch. Just ask a question in the appropriate forum and you're eligible to win a copy of the book (or license).

    Check the book promotions schedule at https://coderanch.com/t/660305/Wiki/Book-Promotions-Schedule.

    Some upcoming promotions are:

  • Modern Python Standard Library Cookbook - Alessandro Molina
  • Cloud Native Architectures - Tom Laszewski, Kamal Arora, Erik Farr & Piyum Zonooz
  • Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds - James Denton
  • Learning Regular Expressions - Ben Forta
  • Java Projects: Learn the fundamentals of Java 11 programming by building industry grade practical projects - Peter Verhas

  • And a big Congratulations to our past Winners


    B o o k s . A n d . R e v i e w s


    We have several forums dedicated to talk about books. Here are some interesting reviews and recommendations from the CodeRanch staff in our Book Reviews forum

    You may also check on our Books forum (https://coderanch.com/f/151/books) for recommendations on books and other related questions.

    Please check out the latest reviews (also available on our book review grid)


    T h e . M o o s e . o n . S o c i a l


    The CodeRanch announces latest news/developments frequently on our social media outlets. You can find us at:

  • Twitter
  • Google+
  • Facebook


  • Follow / Like us so you don't miss a thing.


    A b o u t . T h e . E d i t o r


    Vijitha Kumara has been a member of CodeRanch since 2008 and a Moderator since 2011.


    S u g g e s t i o n s / F e e d b a c k


    If you have any feedback on this month's journal then feel free to create a topic in our Ranch-Office


    J o u r n a l . A r c h i v e


    Our previously published journals are available online at Java-Ranch-Journal
    1 year ago
    Book is structured around a set of examples where authors take a bad code snippet and show you how to convert it to a clean/maintainable code. These examples are captured around a single theme which makes it easier to follow .

    It starts with simple yet some of the widely made mistakes when using booleans and basic constructs and demonstrate how to correct them. It also discusses some of the best practices of coding certain specific constructs and addresses performance concerns when using them. It’s good to see two separate chapters, one to talk about comments in the code(and how best to utilize them) and the other about the naming conventions and how to go about writing more readable code.

    The book covers fairly good amount of exception handling separately. It also has a chapter on how to write tests and how to structure your test code with JUnit being used as the reference library. I liked how they cover some of the high level design aspects along with how you can design & structure your classes/methods to better understand the code.Book has a separate chapter on new functional/streaming aspects of Java, which tries to provide a basic understanding on some of the fundamental patterns & use cases. But they don’t go in to much details to cover more advanced use cases.At the end it gives you some taste in to the real world development aspects which is a very high level coverage on some of the tools frequently used for development as well as for production related activities.

    The background for the book has been the experience the authors gained by teaching Java to students, so they are able to express some common mistakes/practices specially the novice programmers are getting in to.

    It does not cover advanced concepts such as concurrency etc… which is not the intention of the book. I liked how they have added the code snippets in the chapters as they are clearly pointing out the lines of code which are the focus of the explanation that follows.

    Overall it is a good one to have as a reference to some of the fundamental patterns/practices of Java programming.

    I give this book 9 out of 10 horseshoes

    Disclosure: I received a review copy of this book from the publisher for reviewing it on behalf of CodeRanch.
    1 year ago

    Image from Amazon
    Title: Java By Comparison: Become a Java Craftsman in 70 Examples
    Author(s): Simon Harrer, Jörg Lenhard, Linus Dietz
    Publisher: Pragmatic Bookshelf, 1 edition (April 1, 2018)
    Category: Beginning Java

    Amazon wrote:
    Write code that's clean, concise, and to the point: code that others will read with pleasure and reuse. Comparing your code to that of expert programmers is a great way to improve your coding skills. Get hands-on advice to level up your coding style through small and understandable examples that compare flawed code to an improved solution. Discover handy tips and tricks, as well as common bugs an experienced Java programmer needs to know. Make your way from a Java novice to a master craftsman.

    This book is a useful companion for anyone learning to write clean Java code. The authors introduce you to the fundamentals of becoming a software craftsman, by comparing pieces of problematic code with an improved version, to help you to develop a sense for clean code. This unique before-and-after approach teaches you to create clean Java code.

    Learn to keep your booleans in check, dodge formatting bugs, get rid of magic numbers, and use the right style of iteration. Write informative comments when needed, but avoid them when they are not. Improve the understandability of your code for others by following conventions and naming your objects accurately. Make your programs more robust with intelligent exception handling and learn to assert that everything works as expected using JUnit5 as your testing framework. Impress your peers with an elegant functional programming style and clear-cut object-oriented class design.

    Writing excellent code isn't just about implementing the functionality. It's about the small important details that make your code more readable, maintainable, flexible, robust, and faster. Java by Comparison teaches you to spot these details and trains you to become a better programmer.

    What You Need:

    You need a Java 8 compiler, a text editor, and a fresh mind.That's it.






    From the publisher
  • Official website including the table of contents



  • Where to get it?
  • Amazon
  • Publisher


  • Related Websites
    1 year ago

    Image from Amazon
    Title: Java By Comparison: Become a Java Craftsman in 70 Examples
    Author(s): Simon Harrer, Jörg Lenhard, Linus Dietz
    Publisher: Pragmatic Bookshelf, 1 edition (April 1, 2018)
    Category: Beginning Java

    Amazon wrote:
    Write code that's clean, concise, and to the point: code that others will read with pleasure and reuse. Comparing your code to that of expert programmers is a great way to improve your coding skills. Get hands-on advice to level up your coding style through small and understandable examples that compare flawed code to an improved solution. Discover handy tips and tricks, as well as common bugs an experienced Java programmer needs to know. Make your way from a Java novice to a master craftsman.

    This book is a useful companion for anyone learning to write clean Java code. The authors introduce you to the fundamentals of becoming a software craftsman, by comparing pieces of problematic code with an improved version, to help you to develop a sense for clean code. This unique before-and-after approach teaches you to create clean Java code.

    Learn to keep your booleans in check, dodge formatting bugs, get rid of magic numbers, and use the right style of iteration. Write informative comments when needed, but avoid them when they are not. Improve the understandability of your code for others by following conventions and naming your objects accurately. Make your programs more robust with intelligent exception handling and learn to assert that everything works as expected using JUnit5 as your testing framework. Impress your peers with an elegant functional programming style and clear-cut object-oriented class design.

    Writing excellent code isn't just about implementing the functionality. It's about the small important details that make your code more readable, maintainable, flexible, robust, and faster. Java by Comparison teaches you to spot these details and trains you to become a better programmer.

    What You Need:

    You need a Java 8 compiler, a text editor, and a fresh mind.That's it.






    From the publisher
  • Official website including the table of contents



  • Where to get it?
  • Amazon
  • Publisher


  • Related Websites
    1 year ago
    Did you try with plugins whether that would help?

    Even without it did you check that when you build the project it has the source file compiled to the configured target dir?
    2 years ago
    Congrats to the winners and thanks Josh for hanging out here!
    2 years ago
    Hi Josh,

    I just saw in other thread the book does not cover modules, but what's your thoughts on the usage and patterns/practices for modular Java based applications. Any plans to update the topic in the book?
    2 years ago
    You may have to check with JBoss configs and/or JRE path what is wrong with your key store etc... A similar one here.
    2 years ago