Java

Full-stack Java frameworks

Posted on

https://isis.apache.org Apache Isis™ is a framework for rapidly developing domain-driven apps in Java. Write your business logic in entities, domain services or view models, and the framework dynamically generates a representation of that domain model as a webapp or a rich hypermedia REST API. https://github.com/javalite/activeweb ActiveWeb is a Java web framework inspired by Ruby on […]

Java

A Simple Guide To Tomcat Logging

Posted on

https://www.mulesoft.com/tcat/tomcat-logging Some additional info: http://mrhaki.blogspot.ru/2011/02/configure-log4j-on-tomcat.html An Overview of Tomcat Logging As of Tomcat 5.5, Apache’s Java Commons Logging (JCL) technology is used throughout Tomcat.  JCL is a lightweight API for Java applications that allows hierarchical logging to be supported across all log levels, independent of logging implementation.  This means that rather being limited to a […]

Java

Spring inside Netty

Posted on

http://findevelop.blogspot.ru/2014/02/netty.html Netty: делаем лёгкий сервер с блэкджеком и аннотациями Допустим вам нужно обрабатывать http-запросы в своём приложении… Пишем на servlet-ах! Spring!! ЕщёКакойТоФреймворк!!! A теперь нам нужно слушать websocket… Выбор сужается? А завтра потребуется добавить поддержку SMPP или какого-нибудь ещё “необычного” протокола? Рано или поздно вам прийдётся создать консольное java-приложение и начать изучать “встраиваемые” сервера. Встроить […]

Java

Java EL implicit objects

Posted on

http://incepttechnologies.blogspot.ru/p/jsf-implicit-objects.html What are Expression Language Implicit Objects? JSF framework provides several objects related to current request being processed and/or execution environment. These objects aka Implicit Objects can be accessed at runtime in a facelet or backing bean using EL. Although you can access implicit objects using EL and JEE Servlet API as well, having predefined objects […]

General programming

Source code control for database schema

Posted on

http://www.liquibase.org The easiest way to run Liquibase is to set it to run automatically on startup. Once set up, your database state always matches what your code expects and you have no manual steps to forget. This method works best in environments where you have less control over the deployment process or if you want […]

Java

Mutually recuresive type variable bounds

Posted on

http://stackoverflow.com/questions/23248103/example-8-1-2-1-of-java-language-specificationmutually-recursive-type-variable http://www.javaadvent.com/2013/12/type-safing-the-observer-with-mutually-recursive-bounds.html A recursive type is a type that uses itself in its definition. The simplest example is the linked list: class List<T> { T value; List<T> next; } Here, List<T> is recursively defined because it uses a List<T> in its own definition. A type variable bound (Foo in <T> extends Foo) is recursive if […]

Java

Apache Shiro

Posted on

https://shiro.apache.org http://meri-stuff.blogspot.ru/2011/03/apache-shiro-part-1-basics.html The following is a reprint from http://meri-stuff.blogspot.ru Apache Shiro, originally called JSecurity, is Java security framework. It was accepted and became Apache top level project in 2010. It aims to be powerful and easy to be used. The project is in active development with active both users and developers mailing lists. Most important areas are […]

Java

Running Spring application in WebLogic

Posted on

http://pauldone.blogspot.ru/2010/02/weblogic-and-spring.html   WebLogic and Spring In this blog topic I describe some of the integration points that WebLogic provides for Spring based applications. I have mixed feelings about Spring. I definitely prefer its primary focus on the Dependency Injection pattern (DI) instead of the more typical JavaEE model of using the Service Locator pattern (think […]

Java

JDBC url format

Posted on

In case of PostgreSQL it is documented here. With JDBC, a database is represented by a URL (Uniform Resource Locator). With PostgreSQL™, this takes one of the following forms: jdbc:postgresql:database jdbc:postgresql://host/database jdbc:postgresql://host:port/database In case of MySQL it is documented here. The general format for a JDBC URL for connecting to a MySQL server is as […]