15 useful code snippets for Java developers



15 useful code snippets for Java developers
  • Converting int to String and Strings to int
  • Converting String to date in Java
  • Converting Java util.Date to sql.Date
  • Using Java JDBC to connect to Oracle
  • Using NIO to copy Java file fast
  • HTTP Proxy setting in Java
  • Generating PDF in Java by using iText JAR
  • Generating PDF in Java by using iText JAR
  • Sending the HTTP request and fetching data with Java
  • Creating JSON data in Java
  • Converting Array to Map in Java
  • Sending HTTP request while fetching data with Java
  • Using Java to send an email
  • Get name of current method
  • Appending content to file in Java


Web Article - Angular CLI


Initially, the entry barrier into the world of Angular development was pretty high because of the need to learn and manually configure multiple tools. Even to get started with a simple application, you’d need to learn the TypeScript language (an easy job for Java developers), learn how to configure and use the TypeScript compiler, ES6 modules, a module loader (e.g. SystemJS), test runners, npm, a dev web server. To work on a real-world project, you’d also need to learn how to test and bundle your app for deployment.

cli




Hibernate Configuration File Tutorial


Environment
  • Windows 7
  • Java version 7
  • Eclipse Kepler 4.3
  • Maven 3.0.4
  • MySQL 5.0.86
  • JBoss-Hibernate Plugin 4.1.2 for Eclipse



Web Article - JAX-RS Annotations Explained

JAX-RS Annotations
1.1. @Path
1.2. @PathParam
1.3. @GET
1.4. @POST
1.5. @PUT
1.6. @DELETE
1.7. @Consumes
1.8. @Produces
1.9. @QueryParam



Full Article here

Participate in the Future of Java - Coimbra JUG - 2DEZ2015



Data: Quarta-feira, 2 de Dezembro de 2015
Hora: 18:15


O 11º encontro do Coimbra JUG marca o 2º aniversário!

Irá estar presente um orador internacional: a Heather VanCura da Oracle.


Abstract:
Learn how to take part in Java technology evolution. You can participate as an individual, corporation, or nonprofit such as a Java user group (JUG). This session gives you step-by-step instructions on how to participate in the JCP Program. You will also learn about the global
Adopt-a-JSR program and how you can participate in the Adopt-a-JSR program and Adopt OpenJDK programs. We will discuss details such as how to run hack days, collaborate with other JUG leads on Adopt-a-JSR activities, and review use cases from other JUGs around the world contributing to the Java EE 7 and Java SE 8 JSRs. Currently there are new JSRs being submitted and developed for the Java EE 8 and Java SE 9 platforms. Find out how you have contribute to the future editions of the Java Standard and Java Enterprise Editions.




About Heather VanCura (@heathervc):

Heather VanCura leads the JCP Community and Program Office. In her role she is responsible for the day-to-day nurturing, support, and leadership of the community. Heather oversees the JCP.org web site, JSR management, community building, events, marketing, communications, and growth of the
membership. She is also a contributor and leader of the community driven Adopt-a-JSR programs. In 2014, Heather became Spec Lead for JSR 364, Broadening JCP Membership, as part of the ongoing JCP.Next effort. Heather is passionate about Java and developer communities. She enjoys trying new sports and fitness activities in her free time and speaking at conferences, such as FOSDEM, Devoxx, GeeCon, JFokus, Java Zone, OSCON and the JavaOne Conferences. You can find her on Twitter @jcp_org and @heathervc.

Toda a informação sobre o evento em meetup.com

Distributed Computing with Hazelcast - Coimbra JUG - 9DEZ2015




Data: Quarta-feira, 9 de Dezembro de 2015
Hora: 18:15


O 12º encontro do Coimbra JUG marca também o 2º aniversário! Para comemorar a ocasião algumas surpresas irão haver neste evento.

Irá estar presente um orador internacional: o Christoph Engelbert da Hazelcast.

Abstract:
Nowadays collected amounts of data growing exponentially. More than 75% of all stored data were collected in the last 5 to 6 years. To store and D those always fast growing pile of data we have to go new ways. The Scale-Up approach starts to break apart. Partitioning data and parallelize processing and analyzing are the new way.
Our interactive journey will give a short introduction into Distributed Computing and In-Memory Computing with Hazelcast. A few slides and lots of live-coding and hopefully lots of discussions and questions.


About Christoph Engelbert (@noctarius2k):

Christoph Engelbert is Technical Evangelist at Hazelcast. He is a passionated Java developer with a deep commitment for Open Source software. He mostly is interested in Performance Optimizations and understanding the internals of the JVM and the Garbage Collector. He loves to bring software to it's limits by looking into profilers and finding problems inside of the codebase.

Toda a informação sobre o evento em meetup.com

Powered by Blogger