Skip to main content

Source code file content

Revision: 53

article "WebSocket API in JDK 8 - MessageHandler issue"
» Project Revision History

» Checkout URL

web / www / index.html

Size: 13680 bytes, 1 line
<!DOCTYPE html>
<!--
 Generated by Apache Maven Doxia at 2014-03-18
 Rendered using Maven Reflow Skin 1.0.0 (http://andriusvelykis.github.com/reflow-maven-skin)
-->
<html  xml:lang="en" lang="en">

	<head>
		<meta charset="UTF-8" />
		<title>Project Tyrus</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta name="description" content="" />
		<meta http-equiv="content-language" content="en" />
 
		<link href="//netdna.bootstrapcdn.com/bootswatch/2.2.2/cosmo/bootstrap.min.css" rel="stylesheet" />
		<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-responsive.min.css" rel="stylesheet" />
		<link href="https://tyrus.java.net/css/bootswatch.css" rel="stylesheet" />
		<link href="https://tyrus.java.net/css/reflow-skin.css" rel="stylesheet" />
		
		<link href="//yandex.st/highlightjs/7.3/styles/solarized_dark.min.css" rel="stylesheet" />
		
		<link href="https://tyrus.java.net/css/lightbox.css" rel="stylesheet" />
		
		<link href="https://tyrus.java.net/css/site.css" rel="stylesheet" />
		<link href="https://tyrus.java.net/css/print.css" rel="stylesheet" media="print" />
		
		<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->

		<!-- Google Analytics -->
		<script type="text/javascript">
		
			var _gaq = _gaq || [];
			_gaq.push(['_setAccount', 'UA-41373632-1']);
			_gaq.push(['_trackPageview']);

			(function() {
				var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
				ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
				var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
			})();

		</script>
		</head>

	<body class="page-index project-site" data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">

		<div class="navbar navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container">
					<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</a>
					<a class="brand" href="index.html"><img src="images/websocket_logo_white.png" style="width:35px; margin-right:10px;" /> Project <span class="color-highlight">Tyrus</span></a>
					<div class="nav-collapse">
						<ul class="nav pull-right">
							<li class="dropdown">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
								<ul class="dropdown-menu">
									<li><a href="documentation/1.5/user-guide.html" title="User Guide - One Page">User Guide - One Page </a></li>
									<li class="dropdown-submenu">
										<a href="documentation/1.5/index/index.html" title="User Guide">User Guide </a>
										<ul class="dropdown-menu">
											<li><a href="documentation/1.5/index/getting-started.html" title="Getting Started">Getting Started </a></li>
											<li><a href="documentation/1.5/index/modules-and-dependencies.html" title="Modules and Dependencies">Modules and Dependencies </a></li>
											<li><a href="documentation/1.5/index/deployment.html" title="Deploying WebSocket Endpoints">Deploying WebSocket Endpoints </a></li>
											<li><a href="documentation/1.5/index/websocket-api.html" title="WebSocket API">WebSocket API </a></li>
											<li><a href="documentation/1.5/index/configurations.html" title="Configurations">Configurations </a></li>
											<li><a href="documentation/1.5/index/lifecycle.html" title="Endpoint Lifecycle, Sessions, Sending Messages">Endpoint Lifecycle, Sessions, Sending Messages </a></li>
											<li><a href="documentation/1.5/index/injection.html" title="Injection Support">Injection Support </a></li>
											<li><a href="documentation/1.5/index/tyrus-proprietary-config.html" title="Proprietary configuration">Proprietary configuration </a></li>
										</ul>
									</li>
									<li><a href="documentation/1.0/user-guide.html" title="User Guide - Tyrus 1.0">User Guide - Tyrus 1.0 </a></li>
									<li><a href="https://tyrus.java.net/apidocs/1.5/index.html" title="Tyrus 1.5 Javadocs" class="externalLink">Tyrus 1.5 Javadocs </a></li>
									<li><a href="https://tyrus.java.net/apidocs/1.0/index.html" title="Tyrus 1.0 Javadocs" class="externalLink">Tyrus 1.0 Javadocs </a></li>
									<li><a href="contribute.html" title="Contribute">Contribute </a></li>
								</ul>
							</li>
						</ul>
					</div><!--/.nav-collapse -->
				</div>
			</div>
		</div>
		
	<div class="container">
	
	<!-- Masthead
	================================================== -->
	<header class="jumbotron subhead">
		<div class="row" id="banner">
			<div class="span12">
				<div class="pull-left">
					<a href="" id="bannerLeft"><h1>Project <span class="color-highlight">Tyrus</span></h1></a>
					<p class="lead">JSR 356: Java API for WebSocket - Reference Implementation</p>
				</div>
				<div class="pull-right">
				</div>
			</div>
		</div>
	</header>

	<div class="main-body">
	<div class="row columns columns2">
		<div class="span6">
			<h2 id="About">About</h2>
<p>Tyrus is the open source <a class="externalLink" href="http://java.net/projects/websocket-spec">JSR 356 - Java API for WebSocket</a> reference implementation for easy development of WebSocket applications. WebSocket protocol defined by IETF provides bi-directional communication between the server and the remote host. The pros are mainly the ability to communicate both ways, low latency and small communication overhead. Therefore Tyrus and WebSocket in general are suitable for web applications that require sending a huge volume of relatively small messages like online games or market ticker broadcasting.</p>
<p>The <a class="externalLink" href="http://glassfish.java.net/public/GovernancePolicy.html">governance policy</a> is the same as the one used in the GlassFish project. We also use the same two licenses - <a class="externalLink" href="http://glassfish.java.net/public/CDDL+GPL_1_1.html">CDDL 1.1 and GPL 2 with CPE</a> - so, you can pick which one suites your needs better.</p>
<p>The latest stable release of Tyrus is <a href="dependencies.html">1.5</a>.</p>
<div class="section">            
</div>
		</div>
		<div class="span6">
			<h2 id="Recent_articles">Recent articles</h2>
<p><a class="article" href="https://blogs.oracle.com/PavelBucek/entry/websocket_api_in_jdk_8"><span class="title" title="Pavel Bucek">WebSocket API in JDK 8 - MessageHandler issue</span> <span class="date">Mar 18, 2014</span> </a></p>
<p><a class="article" href="https://blogs.oracle.com/PavelBucek/entry/websocket_api_in_jdk_8">JDK 8 is not yet released and it is already causing some headaches for JSR 356 implementors. The issue described in this article will be about the most famous and anticipated JDK 8 feature – lambda expressions and its impact to one part of WebSocket API…</a></p>
<a class="article" href="https://blogs.oracle.com/PavelBucek/entry/websocket_api_in_jdk_8"> </a>
<p><a class="article" href="https://blogs.oracle.com/PavelBucek/entry/tyrus_1_5"><span class="title" title="Pavel Bucek">Tyrus 1.5</span> <span class="date">Mar 6, 2014</span> </a></p>
<p><a class="article" href="https://blogs.oracle.com/PavelBucek/entry/tyrus_1_5">New version of Tyrus was released today, so let’s do a quick summary of what is new compared to previous version and so on. What’s new? maven archetype (echo sample), Tyrus Client can run on Android, Tyrus Client re-connect feature…</a></p>
<a class="article" href="https://blogs.oracle.com/PavelBucek/entry/tyrus_1_5"> </a>
<p><a class="article" href="https://blogs.oracle.com/PavelBucek/entry/websocket_client_reconnect"><span class="title" title="Pavel Bucek">WebSocket Client Reconnect</span> <span class="date">Feb 3, 2014</span> </a></p>
<p><a class="article" href="https://blogs.oracle.com/PavelBucek/entry/websocket_client_reconnect">Another new feature was recently added to Tyrus (Java API for WebSocket Reference Implementation): Client ReconnectHandler. Some client use cases require almost persistent client-to-server connection and don’t really care about lower layer issues…</a></p>
<a class="article" href="https://blogs.oracle.com/PavelBucek/entry/websocket_client_reconnect"> </a>
<p><a class="externalLink" href="https://blogs.oracle.com/main/tags/tyrus">Older articles...</a></p>
		</div>
	</div>
	<div class="row">
	</div>
	<div class="row columns columns3">
		<div class="span4">
			<h2 id="Get_Started"><a href="documentation/1.5/index/getting-started.html" class="headerlink"><img src="images/compass.png" alt="" /> Get Started</a></h2>
<p><a href="documentation/1.5/index/getting-started.html">Learn</a> how to use Tyrus in your projects.</p>
<div class="section">   
</div>
		</div>
		<div class="span4">
			<h2 id="Documentation"><a href="documentation/1.5/user-guide.html" class="headerlink"><img src="images/docs.png" alt="" /> Documentation</a></h2>
<p><a href="documentation/1.5/user-guide.html">Read</a> Tyrus user guide.</p>
<div class="section">   
</div>
		</div>
		<div class="span4">
			<h2 id="Download"><a href="dependencies.html" class="headerlink"><img src="images/download.png" alt="" /> Download</a></h2>
<p>Tyrus is distributed mainly via Maven and it offers some extra modules. See our list of <a href="dependencies.html">dependencies</a> for details.</p>
<div class="section">   
</div>
		</div>
	</div>
	<div class="row">
		<div class="span4">
			<h2 id="Related_Projects"><a href="related.html" class="headerlink"><img src="images/connect.png" alt="" /> Related Projects</a></h2>
<p>List of projects related to Tyrus.</p>
<div class="section">   
</div>
		</div>
		<div class="span4">
			<h2 id="Contribute"><a href="contribute.html" class="headerlink"><img src="images/settings.png" alt="" /> Contribute</a></h2>
<p><a href="contribute.html">Learn</a> how you can contribute to the project.</p>
<div class="section">   
</div>
		</div>
		<div class="span4">
			<h2 id="Developer_Blogs"><img src="images/blog2.png" alt="Blogs" /> Developer Blogs</h2>
<ul> 
 <li>Pavel's <a class="externalLink" href="https://blogs.oracle.com/PavelBucek">blog</a></li> 
</ul>
		</div>
	</div>
	<div class="row">
	</div>
	</div>

	</div><!-- /container -->
	
	<!-- Footer
	================================================== -->
	<footer class="well">
		<div class="container">
			<div class="row">
				<div class="span3 bottom-nav">
					<ul class="nav nav-list">
						<li class="nav-header">Main</li>
						<li class="active">
							<a href="#" title="Home">Home </a>
						</li>
						<li>
							<a href="license.html" title="License">License </a>
						</li>
						<li class="nav-header">Download</li>
						<li>
							<a href="dependencies.html" title="Download">Download </a>
						</li>
					</ul>
				</div>
				<div class="span3 bottom-nav">
					<ul class="nav nav-list">
						<li class="nav-header">Contribute</li>
						<li>
							<a href="contribute.html" title="Contribute">Contribute </a>
						</li>
						<li>
							<a href="http://stackoverflow.com/questions/tagged/tyrus" title="StackOverflow" class="externalLink">StackOverflow </a>
						</li>
						<li>
							<a href="mailing.html" title="Mailing Lists">Mailing Lists </a>
						</li>
					</ul>
				</div>
				<div class="span3 bottom-nav">
					<ul class="nav nav-list">
						<li class="nav-header">Project Info</li>
						<li>
							<a href="scm.html" title="Source Control">Source Control </a>
						</li>
						<li>
							<a href="https://java.net/jira/browse/TYRUS/" title="Issue Tracking" class="externalLink">Issue Tracking </a>
						</li>
						<li>
							<a href="mailing.html" title="Mailing Lists">Mailing Lists </a>
						</li>
						<li>
							<a href="team-list.html" title="Project Team">Project Team </a>
						</li>
					</ul>
				</div>
				<div class="span3 bottom-description">
					<a href="https://glassfish.java.net" style="border:0; display:block"><img src="images/glassfish_logo.png" width="200" /></a>
				</div>
			</div>
		</div>
	</footer>
		
	<div class="container subfooter">
		<div class="row">
			<div class="span12">
				<p class="pull-right"><a href="#">Back to top</a></p>
				<p class="copyright">Copyright &copy;2014 <a href="http://oracle.com">Oracle Corporation</a>. All Rights Reserved.</p>
			</div>
		</div>
	</div>

	<!-- Le javascript
	================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->

	<!-- Fallback jQuery loading from Google CDN:
	     http://stackoverflow.com/questions/1014203/best-way-to-use-googles-hosted-jquery-but-fall-back-to-my-hosted-library-on-go -->
	<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
	<script type="text/javascript">
		if (typeof jQuery == 'undefined')
		{
			document.write(unescape("%3Cscript src='https://tyrus.java.net/js/jquery-1.8.3.min.js' type='text/javascript'%3E%3C/script%3E"));
		}
	</script>
	
	<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js"></script>
	<script src="https://tyrus.java.net/js/lightbox.js"></script>
	<script src="https://tyrus.java.net/js/jquery.smooth-scroll.min.js"></script>
	<!-- back button support for smooth scroll -->
	<script src="https://tyrus.java.net/js/jquery.ba-bbq.min.js"></script>
	<script src="//yandex.st/highlightjs/7.3/highlight.min.js"></script>

	<script src="https://tyrus.java.net/js/reflow-skin.js"></script>
	
	</body>
</html>
 
 
Close
loading
Please Confirm
Close