Simple

20 Recommendations
112 Downloads (This Week)
Last Update:
Download simple-5.1.4.zip
Browse All Files
Windows Mac Solaris Linux

Description

The goal of Simple is to bring the power of simplicity to the world of server side Java. The primary focus of the project is to provide a truly embeddable Java based HTTP engine capable of handling enormous loads. Simple provides a truly asynchronous service model, request completion is driven using an internal, transparent, monitoring system.

Simple Web Site

Update Notifications





User Ratings

 
 
20
3
Write a Review

User Reviews

  • Posted by Alvaro 2013-04-29

    Hi, nice and easy to use but there seems to be a problem when you use several thread. I have a timeout for certain type of request the code is quite straightforward. I looks like the example, ie. this.executor = Executors.newCachedThreadPool(); @Override public void handle(Request request, Response response) { LOG.info("receiving request " + request.getAddress().toString()); Task task = new Task(request, response, cfg); executor.execute(task); LOG.info("Executing task"); } There is two differences In the Task I have a Thread.sleep(millis). I tried the same sniper code outside the simpleframework and It worked fine. The problem is that it seems that when you have big loads of request where "Thread.sleep()" runned another not. The simpleframework get a deadlock handling like 3 requests at the time, ie. and it does not handle more request until all "Thread.sleep(..)" ar fineshed. In my eyes it should continue to handle requests even if some threads are sleeping, the same sniper code outside simpleframework works fine so I don't think it has to do with the code...I quite sure thet even if you don't have Thread.sleep(..) the simpleframework handles a fixed number of threads. I need some hints och help with this issue. regards Alvaro

  • Posted by OpenID User — 2012-12-12

    Hi, I just started to play around with simple. What I saw is that in your tutorial you start with these lines Container container = new HelloWorld(); Connection connection = new SocketConnection(container); This does not work for me because it seams that SocketConnection constructor needs a server instance. I used latest version 5.0.2. Switching back to version 4.1.4 worked fine with your example. Do you have any insights? Thanks!

  • Posted by Christoph Aschwanden 2009-10-21

    This is a great project. I originally used Apache MINA but then switched to Simple and I couldn't be happier about it. Simple is being used to power a game server (not a web site). Simple interfaces the clients to the actual games which are stored in a database. Check out Age of Conquest for more information: http://www.ageofconquest.com

Read more reviews

Additional Project Details

Languages

English

Intended Audience

Developers, End Users/Desktop

User Interface

Web-based

Programming Language

Java

Registered

2002-09-12

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.