1 year, 1 month ago
Suddenly it turns out that in the project scripts are necessary and there is a question what evolution or revolution is better? But even attempt to implement gruv can fail in legas the project with conservative collective. And the manual can find ten more of the reasons not to pass a gruva in the project. Though groovy is much simpler and closer to the programmer to aware java, than the same scala.
But even in this case it is possible to use dynamically compiled scripts in the project. Let's learn to compile java a code dynamically in memory and to start it in jvm, to use in it dynamically loaded libraries from maven. It would be desirable to write as little as possible code for this purpose and that process of use was simplest. And still our pogramma would not like to hope for availability of tools.jar.
1 year, 1 month agoSearch of housing, information on goods, vacancies, acquaintances, comparison of goods of firm with competitors, research of responses in a network.
In the Internet a lot of useful information and ability to retrieve data is published will help with life and work. Let's learn to obtain information by means of webdriver API. In the publication I will give two examples which code is available on github. At the end of article skrinkast how the program manages the browser.
After the recent declaration from Pivotal of the end of financing of permanent developers of the Groovy project, the command decided that it would be reasonable to show to Groovy-community that in the long term the project will not disappear. Groovy will develop regardless of existence of financing by the private organizations and sponsors, and also regardless of any changes in design team.
JUG? Java User Group, JUG.EKB meetings? this discussion of different technologies from the world of Java, exchange of experience, and also simply interesting communication! We regularly hold JUG.EKB meetings with the lectures Java of experts on the most interesting subjects. Our site jugekb.ru, community in VK? vk.com/jugekb.
We invite all java of developers to the second meeting of JUG.EKB.
2 years, 7 months ago
Practically in each web project own file store is required. Assignments at it set. Today we will consider 2 simple options of its creation: the first? with use of data type of blob means of Java, Spring MVC, Hibernate, MySQL and the second? with clustering (splitting the file into slices) means of groovy, grails, hibernate, PostgreSQL.
Why this bicycle is necessary? Often it is necessary to give to the user the files created on server side and to provide opportunity most to spread there something. Besides, we work with DBMS to which it is possible to be connected on JDBC from other hosts and if to make replicable base with several notes, good balancing of load of downloading will turn out.
In spite of the fact that in Yekaterinburg on java not one company develops, java of community is absent. But when something is not enough for you, it is necessary to take and make it simply. So, having viewed the next meeting of JUG.ru, finally it became clear that Yekaterinburg needs place where java developers can meet, discuss news of java of technologies, talk about interiors of java and it is simple to communicate!
So JUG.EKB was born? community Java of developers of Yekaterinburg.
2 years, 9 months ago
Throughout the previous article about expansion of Ratpack of application on Heroku, today I will tell about uses of plug-in of Gradle. It was difficult experiment on expansion of simple Ratpack of application on Heroku PaaS. We rummaged in buildpack's artful designs for expansion on news Heroku.Khoroshiye that is to belsha not obligatory. I will show easier way of expansion in this article. In this method not of need obviously to use Heroku Toolbelt and custom'ye buildpack's. Also it is not necessary to have any more Ruby, RVM, or set of other technologies connected with Ruby which are not necessary to Java/Groovy to developers, it even know about this there is no need.
2 years, 9 months ago
Expansion of simple Ratpack of application on Heroku is one many more difficult, than has to be. After large number of tests and errors, I at last managed to receive the working configuration for successful expansion. This article? manual how to unroll application step by step. In the following article I will tell how to use Gradle plugin for process simplification.
2 years, 9 months ago
Hi, harbayuzer. In this series of articles we will write REST API with use of Vert.x. Let's begin with the simple: installations most vert.x-and and settings of start of simple application in IDE.