Skip to main content

Kenyth Zeng's Library tagged integration   View Popular

31 Aug 09

7.8 Using AspectJ with Spring applications -- Spring Framework 3.0 Reference

  • ask a bean factory to
    configure a pre-existing object given the name of a
    bean definition containing the configuration to be applied. The
    spring-aspects.jar contains an
    annotation-driven aspect that exploits this capability to allow
    dependency injection of any object.
  • Spring will configure
    new instances of the annotated type (Account in
    this case) using a prototype-scoped bean definition with the same name
    as the fully-qualified type name
    (com.xyz.myapp.domain.Account).
  • 16 more annotations...
26 Aug 09

Maven - Maven 2.x Integration for Eclipse

1. The Maven Integration for Eclipse (m2eclipse, Eclipse m2e);
2. Eclipse Integration for Apache Maven (Eclipse IAM), formerly Q for Eclipse.

maven.apache.org/eclipse-plugin.html - Preview

maven eclipse integration plugin

18 May 09

Apache Tomcat 6.0 - Connectors How To

  • When using a single server, the performance when using a native webserver in
    front of the Tomcat instance is most of the time significantly worse than a
    standalone Tomcat with its default HTTP connector, even if a large part of the web
    application is made of static files.
27 Apr 09

6.4 Multi bundle integration testing

  • the use of
    classpath*: with respect to the module-context.xml path. This will
    cause Spring to look for files that match that path in all of the bundles on the classpath meaning that all
    the application beans will be instantiated:
  • When this test is run, Spring creates an ApplicationContext that is built
    from the module-context.xml configuration files from all of the bundles.

Integration Testing

  • it tends to minimize the need for drivers. However, the need for stubs complicates test management
  • the inputs for functions are integrated in the bottom-up pattern discussed above. The outputs for each function are then integrated in the top-down manner.
  • 2 more annotations...

6.2 Single bundle integration testing

  • One of the most common forms of integration testing is ensuring that the object relational mapping in an
    application is working properly.
16 Apr 09

IT Stream: Full-Text Search for Database Using Lucene Search Engine

  • MySQL has full-text indexing capabilities built in
  • The main rule for optimizing search engines is to reduce number of hard drive seeks to minimum.
  • 11 more annotations...

hibernate.org - Hibernate Search

  • it becomes increasingly more difficult to index a more complex object domain model - keeping the index up to date, dealing with the mismatch between the index structure and the domain model, querying mismatches, and so on.
      • The structural mismatch: Hibernate Search takes care of the object/index translation
      • The duplication mismatch: Hibernate Search manages the index, keeps changes synchronized with your database, and optimizes the index access transparently
      • The API mismatch: Hibernate Search lets you query the index and retrieve managed objects as any regluar Hibernate query would do

Re: Syncing lucene index with a database



  • Alternatively I have thought of using Lucene purely for search to
    return just the primary key of items from our database table, then query
    the database for those items and get the most up to date data from the
    database to actually display our search results. This would let us use
    Lucene's superior searching capabilities and searching speed, but would
    still require us to pull the data to be displayed from the database.

    Another option is that we could do the same, but only return the fields
    that could change frequently.  This would use Lucene to store and index
    the majority of what is displayed on a search results page, only using
    the database to return the 2 or 3 fields that might change in a search
    for each row that lucene returns.
22 Oct 08

Chapter 6. Aspect Oriented Programming with Spring

  • offer fully typed advice
  • Field interception
    is not implemented
  • 49 more annotations...
21 Oct 08

AOP@Work: Dependency injection with AspectJ and Spring

  • In the book Domain-Driven Design, Eric Evans argues
    persuasively for hiding objects from the details of their
    configuration and association establishment:
  • agrees not to
    go out searching for the resources it needs, partners it collaborates
    with, or services it uses.
  • 11 more annotations...

The Aspects Blog: What the teacher said (using AspectJ with Spring part II)

  • aspects in AspectJ are implicitly constructed on point of first reference
  • AspectJ will actually give a compile-time error if you attempt to define a non-zero argument constructor in an aspect.
  • 1 more annotations...
22 Aug 08

Running JSP Through Apache with mod_proxy_ajp or mod_jk2 - RimuHosting

  • If you are on a newer distro
    (e.g. FC5, Centos5 and Debian Etch) with Apache 2.2 you would use mod_proxy
  • We do not recommend this method, since
    then Tomcat would need to run as a privileged user.  Which has security
    implications.
  • 11 more annotations...
1 - 20 of 37 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo