blether造句1. Verify that you can run the Blether application.
2. After you have built the sample, navigate to /blether.
3. The sample application descriebd here, called Blether, provides a basic social messaging service that enables users to share status updates and to find and track other users.
4. Instead of creating blether.
5. In the case of the Blether persistence JAR, the conversion is straightforward and so it is not necessary to use the tool.
6. The Spring context in the Blether WAR looks up the EntityManagerFactory that it uses from the Web module's local JNDI, where it is mapped by a persistence-unit-ref in the module's web.xml file.
7. HttpRequestHandlerServlet represents the only servlet used by Blether from the perspective of the Web descriptor.
8. However, the Blether service actually exists in the OSGi service registry and Blueprint defines a more direct way to use a service from OSGi service registry with the reference element.
9. To create an application manifest for the Blether sample, paste the sample code in Listing 18 into sample/resource/META-INF/APPLICATION.MF.
10. For that reason, you will move the Blether service to the persistence bundle, from where the Web module can access it via the OSGi service registry.
11. You will also need to make the Blether service available in the service registry.
12. Listing 18 shows a sample manifest for the Blether application.
13. In summary, the second step in making changes to the Blether sample is to modify the sample/persistence/resources/META-INF/persistence.xml file to match the sample above.
14. This lookup is unambiguous because OSGi applications are isolated and Blether defines only a single persistence unit.
15. In their place,[Sentence dictionary] you want a single lookup for the Blether service as shown in Listing 10.
16. Describing the changes to the files necessary to refactor the Blether code would add no value to this article, as the IDE takes care of them for you.
17. There are several changes you must make to the Blether persistence service.