Next step in my university project

I finally managed to finish migration of all sub projects of my university post-graduate work.For those, who don’t know anything about my work - I am first year post-graduate student and I am doing admission web service for Lviv National University of Ivan Franko. I started working on this project from October 2014 and from that time I achieved some results - we negotiated with about cooperation - thet were having their IT Academy and we were willing to have some ui work, so we found each other. Few words about this project - it started as admission web site for managing applicants, their orders, enrolments, etc and soon it’s backend part started to cover most of the fields in the university management, so we decided to define it as UMS(University Management System). I managed to gather everything together, so now we have nice-looking github page of Ivan Frankon University, that collects General UMS project Backend Part(Was done by my team) Frontend Admission Part Nice thing to hear is that I send request for JIRA Open Source Program - and I hope that we will receive this product. I am also happy with the fact that we will continue...

Java - MetaSpace vs PermGen

It’s been a long period since Java 8 was introduced.New Java comes with a lot of new features. One of these features is the complete removal of the Permanent Generation (PermGen) space which has been announced by Oracle since the release of JDK 7. Interned strings, for example, have already been removed from the PermGen space since JDK 7. The JDK 8 release finalizes its decommissioning. This article will share the information that I found so far on the PermGen successor: Metaspace. The final specifications, tuning flags and documentation around Metaspace should be available on Java 8 official documentation. Metaspace The JDK 8 HotSpot JVM is now using native memory for the representation of class metadata and is called Metaspace; similar to the Oracle JRockit and IBM JVM’s. The good news is that it means no more java.lang.OutOfMemoryError: PermGen space problems and no need for you to tune and monitor this memory space anymore…not so fast. Instead of java.lang.OutOfMemoryError: PermGen you are now able to receive java.lang.OutOfMemoryError: Metadata space .While this change is invisible by default, we will show you next that you will still need to worry about the class metadata memory footprint. Please also keep in mind that...

Socket types in a different countries

While planning your travel, don’t forget that the type of socket, that u’re using - will not always fit with the socket of the country, that you are visiting. So just in case you will need different types of sockets - I store them in infographic below I think, there is no need to buy socket adapter before visiting some country, I’m sure that you can buy one just after plane lands in airport.

JHipster context is not loading on DigitalOcean cloud server

Few weeks ago I started to work with JHipster - Java Framework for rapid development.I am not going to write a review of this framework - I hope, I will find time to do it later, but today I am going to write some useful information about pitfalls, that you can reach during your work with JHipster. #####Jhipster project unable to start itself on digitalocean Just FYI, Jhipster is built on top of Spring Boot Framework + Angular JS, so to start application, you need just to execute single command mvn spring-boot:run That’s a convenient way for deploying application - no separate application servers, only embedded, only hardcore. That’s why Spring Boot stores some embedded tomcat server, which contains all properties. So, the problem is that sometimes, when you deploy your application on Digital Ocean cloud server - you need to wait for a long time to finish deploying process. In my case, the problem with long deploy is that Tomcat loves to use /dev/random function, instead of /dev/urandom. To get a good example of how random and urandom works, just go to terminal and type cat /dev/random Then try to move your mouse, you will receive additional values. Then...

Writing JUnit Rules

Agenda </br> Description of rules @Rule vs @ClassRule Some useful rules Writing your own rule Description of rules Rules allow very flexible addition or redefinition of the behavior of each test method in a test class. Testers can reuse or extend one of the provided Rules below, or write their own. This mean, that you can controll the behavior of your test case, you can catch exceptions, write before-after methods, etc. I would recommend to read more about rules here @Rule vs @ClassRule There is a difference between @Rule and @ClassRule in JUnit.We can differ them similiar as @Before and @BeforeClass. If you will annotate field ,that implements org.junit.rules.TestRule with @Rule annotation, then it will run in each method. But, if you will annotate this field as @ClassRule, then it will run once. Useful rules examples Writing your own rule We will write custom TestRule, that will log actions. We will have two We will get before: global before: local after: local after: global