Home > Blogs > VMware vFabric Blog


Tomcat 8: Websocket, Lamda Expressions, SpringOneG2X & More

The first release candidate of Apache Tomcat 8 is now available as an alpha release. This release is intended to allow for testing and feedback. It is not intended for production use.

One of Pivotal’s senior engineers, leading expert, and Tomcat contributor, Mark Thomas, made the announcement on Tuesday via Apache Tomcat mailing lists. Tomcat 8.0 supports the Java SE 7 specifications including, Java Servlet 3.1, JavaServer Pages 2.3, Java Unified Expression Language 3.0, and the new Java WebSocket 1.0 specifications.

Developed in parallel, Thomas had previously explained how specifications and releases are related, “As the work on the specifications proceeds, and, as the changes firm up, then those changes will be implemented in the Tomcat 8 branch.”

Thomas outlined Tomcat 8 at his ApacheCon Europe 2012 presentation, “Apache Tomcat 8 Preview” in Sinsheim, Germany.

Interested in hearing more? Come to SpringOne2GX in Santa Clara, CA from Sept 9-12 and attend the Apache Tomcat 8 Preview session given by Pivotal’s own Daniel Mikusa and Stuart Williams. Click here to register today. Early bird registration ends August 9th!

Notable Updates and Improvements in Tomcat 8

  • An HTTP protocol upgrade has been introduced that allows the client to specify switching protocols. Under the hood, this is the same capability that is used by WebSockets to upgrade the HTTP connection, although this allows for a broader range of protocols.
  • Websocket 1.0 is implemented as a standard API. A Tomcat-specific version was provided in 7.0 because the specification wasn’t finalized. For those that are still familiarizing themselves with WebSocket, it allows full duplex communications over TCP. Most websites today run HTTP in half-duplex mode—this means that communications can happen in both directions, but only one at a time, like a walkie-talkie. The Websockets protocol is full duplex—this means that bidirectional data can flow at the same time. It was originally proposed with HTML5.
  • EL can now run on it’s own in standalone mode, outside of servlets and JSP pages. In a nutshell, the enhancement allows you to call an ELProcessor class.
  • There is now support for lambda expressions, similar to what will be in Java 8. These expressions can simplify code and are comprised of a set of parameters, a lambda operator, and a function body. See the following examples and overview for more information.
  • Collection operators will allow for the construction of Sets, Lists, and Maps.
  • The Java EL stream API includes filters like forEach, reduce, filter, and map. Here, you can take a collection or list, invoke a string method, and run additional filtering or aggregate functions on the list. For example, you could sum a string.
  • Developers will be able to directly access static fields and methods of any classes imported to the EL context.
  • Resources have been refactored to better support the inclusion of external resources. The implementation replaces Aliases, VirtualLoader, VirtualDirContext, JAR resources and external repositories with a single, consistent approach for configuring additional web application resources. The new resources implementation can also be used to implement overlays using a master WAR as the basis for multiple web applications that each have their own customizations. In addition:
  • Security enhancements—primarily there is additional diagnostic information for SSL ciphers
  • SPDY has been implemented for experimental use.
  • New support for non-blocking I/O has been added as a default. This is a performance improvement and allows data to be managed asynchronously through a ReadListener and a WriteListener interface. This also applies to the new Websocket capabilities.

For more detail, resources and code examples see Apache Tomcat 8: What It Is, What You Need To Know.

This entry was posted in vFabric and tagged , , , , on by .
Adam Bloom

About Adam Bloom

Adam Bloom has worked for 15+ years in the tech industry and has been a key contributor to the VMware vFabric Blog for the past year. He first started working on cloud-based apps in 1998 when he led the development and launch of WebMD 1.0’s B2C and B2B apps. He then spent several years in product marketing for a J2EE-based PaaS/SaaS start-up. Afterwards, he worked for Siebel as a consultant on large CRM engagements, then launched their online community and ran marketing operations. At Oracle, he led the worldwide implementation of Siebel CRM before spending some time at a Youtube competitor in Silicon Valley and working as a product marketer for Unica's SaaS-based marketing automation suite. He graduated from Georgia Tech with high honors and an undergraduate thesis in human computer interaction.

119 thoughts on “Tomcat 8: Websocket, Lamda Expressions, SpringOneG2X & More

  1. Pingback: طراحی سایت زبان (JSP | TEK

  2. تشریفات مجالس

    o life. The piece is a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transformation. The result is usually humoristic with a unique point of view about footwear. Another aspect of the creation is the realization. All the pieces are hand-made in my studio. The challenging technical development is the key to bring the design to life in the best

    Reply
  3. کاشت ناخن

    he design/concept comes to life. The piece is a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transformation. The result is usually humoristic with a unique point of view about footwear. Another aspect of the creation is the realization. All the pieces are

    Reply
  4. قیمت seo

    s in Tel-Aviv, Jerusalem, Tokyo, Verona, St.Etienne, Berlin etc’… ” In my artistic footwear design the shoe is my canvas. The trigger to create a new piece comes when an idea, a concept and/or an image comes to mind. The combination of the image and footwear creates a new hybrid and the design/concept comes to life. The piece is a wearable sculpture. It is “alive” with/o

    Reply
  5. ترمو وود

    sign/concept comes to life. The piece is a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transformation. The result is usually humoristic with a unique point of view about footwear. Another aspect of the creation i

    Reply
  6. ترمو وود

    on his women shoe line in Tel-Aviv, Israel. Designed commercial footwear in both Italy, China and Brazil. Presented design in various exhibitions in Tel-Aviv, Jerusalem, Tokyo, Verona, St.Etienne, Berlin etc’… ” In my artistic footwear design the shoe is my canvas

    Reply
  7. نمای چوبی

    Israel. Designed commercial footwear in both Italy, China and Brazil. Presented design in various exhibitions in Tel-Aviv, Jerusalem, Tokyo, Verona, St.Etienne, Berlin etc’… ” In my artistic footwear design the shoe is my canvas. The trigger to create a new piece comes when an idea, a concept and/or an image comes to mind. Th

    Reply
  8. چوب ترمو

    both Italy, China and Brazil. Presented design in various exhibitions in Tel-Aviv, Jerusalem, Tokyo, Verona, St.Etienne, Berlin etc’… ” In my artistic footwear design the shoe is my canvas. The trigger to create a new piece comes when an idea, a concept and/or an image comes to mind. The combination of the image and footwear creates a new hybrid and the design/concept comes to life. The piece is a wearable sculpture. It is “alive”

    Reply
  9. چوب نما

    twear creates a new hybrid and the design/concept comes to life. The piece is a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transformation. The result is usually humoristic with a unique point of view about f

    Reply
  10. نمای چوبی

    rael. Designed commercial footwear in both Italy, China and Brazil. Presented design in various exhibitions in Tel-Aviv, Jerusalem, Tokyo, Verona, St.Etienne, Berlin etc’… ” In my artistic footwear design the shoe is my canvas. The trigger to create a new piece comes when an idea, a concept and/or a

    Reply
  11. چوب ترمو

    oe is my canvas. The trigger to create a new piece comes when an idea, a concept and/or an image comes to mind. The combination of the image and footwear creates a new hybrid and the design/concept comes to life. The piece is a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transfor

    Reply
  12. چوب نما

    a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transformation. The result is usually humoristic with a unique point of view about footwear. Another aspect of the creation is the realization. All the pieces are hand-made in my studio. The challenging technical development

    Reply
  13. طراحی سایت

    tanks best weblog

    he design/concept comes to life. The piece is a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transformation. The result is usually humoristic with a unique point of view about footwear. Another aspect of the creation is the realization. All the pieces are

    Reply
  14. cctv security dvr

    DVRs can help to conserve CCTV data for as much as 10 weeks of recording time and you’ll find even some which has motion detection technology.
    We created video tutorials on subjects like CCTV camera
    placement, connecting a DRV recorder to some network and
    viewing a CCTV system using an iphone. Home cctv system reviews For each app you will
    discover a brief review, screenshot plus a link so you can grab it for
    yourself.

    This will permit a hidden camera and DVR to be placed in a common object for instance a
    radio, clock or mirror. CCTV cameras are incredibly efficient in doing precisely what they
    were created to do – providing you with a means to help keep an eye on your
    home.

    Reply
  15. good nerf guns to buy been

    A child would are more imaginative by assigning a title and
    personality with a toy. Many wooden toys were also present inside the
    tombs from the Egyptian children. Best nerf gun for adults Typically, people
    who may have unprotected sex or do not take preventive and precautionary measures during intercourse or
    while using sex toys are susceptible to HIV.

    As the series continues to evolve, the Doctor Who toy products
    will even continue evolving. The toy line available within the market is based
    around the story distinct Ben10.

    Reply
  16. Dvr security Recorder

    This doesn’t suggest however you may need to choose the most expensive DVR around with every bell and whistle imaginable.
    The simplest mini DVR in market, only one
    button, plug and play. Best cheap dvr Closed-circuit television (CCTV) is the use of video cameras for you
    a signal to some specific place, with a limited set of monitors.

    This standalone DVR will accept any standard SATA hard drive, or you’ll be able to have us
    purchase a hard drive to suit your needs, in order that it
    is ready to go if this ships. As there’s higher crime rate and associated
    threat in your organization, you’ll like to spend income along with purchase DVR card.

    Reply
  17. خرید باغ

    سایت ملکینه با کادری تخصصی در زمینه خرید باغ , فروش باغ , فروش ویلا , فروش باغ ویلا و زمین مشغول به فعالیت میباشد اصل کاری این مجموعه مشتری مداری می باشد و رضایت مشتری برای ما از همه چیز مهمتر است. قبل از خرید حتما با ما مشورت کنید.
    http://www.melkine.ir

    Reply
  18. برج خنک کننده

    tanks best weblog

    he design/concept comes to life. The piece is a wearable sculpture. It is “alive” with/out the foot/body. Most of the inspirations are out of the “shoe-world”, and give the footwear an extreme transformation. The result is usually humoristic with a unique point of view about footwear. Another aspect of the creation is the realization. All the pieces are

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *


*