Skip to main content

Posts

Showing posts from August, 2009

Проблема Exaile и libmad кодека

Случилась странная весчь, попалась для ознакомительного прослушивания mp3. Запустив её в exaile, наблюдал предсмертную конвульсию последнего ввиде n-го кол-ва алертов о том, что кодек не установлен. Дальше на помощь пришел старый добрый mplayer. Запустив в нем файл из консоли подчерпнули полезную инфу о кодеке, а именно его название - libmad. Так вот, чтобы это все дело завелось в exaile плеере и ему подобному, нужно установить дополнительный пакет кодеков для gstreamer: gstreamer-plugins-ugly.

Repost about Spring and Struts

Struts is an MVC-framework, while Spring is a full-stack application framework that provides an MVC Framework (Spring MVC) as one of its many modules. In fact, it is possible to integrate a Struts-based web tier with Spring-managed components in the middle-tier. At the core Spring provides an Inversion of Control container to remove the burden of dependency management from application code. Spring also leverages Aspect-Oriented Programming to decorate POJOs with enterprise behavior - such as transactions, security, and logging. In addition to its MVC web framework, Spring provides support libraries for data access, messaging, scheduling, etc. As far as comparing the two web frameworks (Struts and Spring MVC), they are similar enough that developers familiar with Struts should be able to pick up Spring MVC rather quickly. For example, Spring MVC Controllers play the same general role as Struts' Actions - handling requests and typically delegating to the application layer. I'm no