middleware

Data Integration between Oracle and External Application ?

We have an application that needs certain HR (Human Resource) data like the employee table etc. to initiate the manual and automate workflow process it is used for. Well I am looking into the way to integrate or synchronized with Oracle Data,lets say I get a new customer who has something called "Oracle HR" and they say we will buy your...

How do I use a Rack middleware only for certain paths?

I'd like to have MyMiddleware run in my Rack app, but only for certain paths. I was hoping to use Rack::Builder or at least Rack::URLMap, but I can't quite figure out how. This is what I thought would work, but doesn't: # in my rackup file or Rails environment.rb: map '/foo' do use MyMiddleware, { :some => 'options' } end Or, bett...

How do I use domain objects from middleware with cache_classes off?

In the rails development environment, cache_classes is off so you can modify code under app/ and see changes without restarting the server. In all environments, though, middleware is only created once. So if I have middleware like this: class MyMiddleware def initialize(app) @app = app end def call(env) env['model'] = M...

What pitfalls await me when i migrate from CF6.1 to CF8 or Railo3.1?

Google does not really deliver much content (or my query sucks). Has anyone made the switch and can share the experience? ...

Reliable/Safety-critical JAVA middleware - Best practices

What are the best practices for implementing reliable and safety-critical Java middleware? ...

Paginated + Ajax table in Django

I simply want to show off a model in a table that is paginated and sortable on the various fields. Bonus points if the pagination and sorting doesn't cause a page reload. Double bonus points if the pagination is done with infinite scrolling. I'm sure everyone here has written and rewritten this functionality. Is there a simple middlew...

Best Publish/Subscribe "Middleware"

I'm in the market for a good open source network based Pub/Sub (observer pattern) library. I haven't found any I like: JMS - tied to Java, treats message contents as dumb binary blobs NDDS - $$, use of IDL CORBA/ICE - Pub/Sub is built on-top of RPC, CORBA API is non-intuitive JBOSS/ESB - not too familiar with It would be nice if su...

Middleware for both Django and Pylons

It appears to me that Django and Pylons have different ideas on how middleware should work. I like that Pylons follows the standardized PEP 333, but Django seems to have more widespread adoption. Is it possible to write middleware to be used in both? The project that involves said middleware is porting a security toolkit called ESAPI fr...

Messaging Middleware - how to avoid reentrance with wildcard subscription?

Messaging middleware solutions (JSM, Tibco, etc.) allow publish/subscribe with "topic" filtering using wildcards to subscribe to all messages of a certain "topic", e.g. SUBSCRIBE("ACCOUNT.*") topic allows you to subscribe to both "ACCOUNT.WITHDRAW" message and "ACCOUNT.CHECKBALANCE" message. The problem is that such subscription also re...

Is Tomcat middleware?

So I have a client that needs to be running tomcat for various things (Solr and a webservice as well) and after having a meeting with him and another programmer on the project, I got a little confused. The other programmer was throwing around buzzwords and saying things like "We need to have middleware for tomcat." In response to this, m...

set method to PUT in rails XML requests

if I do this: curl -X POST -H 'Content-type: application/xml' -d '<person>...</person>' 'http://0.0.0.0:3000/people/12?_method=PUT' I get "Only get, put, and delete requests are allowed." Why? Rails 2.3.2 ...

EAI/middleware: Huge messages inline or by reference

Are there good practices for processing messages or requests/responses dealing with huge amounts of data (MBytes? GBytes?) via an middleware or an EAI system, assunming that the middleware transports but does not process the huge data blobs? Transport the data with the message in order to keep coherence but probably several times copy ...

Biztalk Developer pre-screening test and interview questions

Similar to other interview question threads, we're preparing to interview candidates for a Biztalk/.NET Webservices/XML/general mid-tier developer position, and I'm looking for some good input from the community. We'd like to pre-screen the applicants (since they'll come from a tech agency) with a written test that covers basic knowledge...

Class reloading stops after uncaught exception in custom middleware

I've written my own middleware to provide an API endpoint to our application. The middleware loads classes that provide the API methods, and routes the request to the appropriate class/method. The classes are loaded dynamically through String#constantize. While running in development mode, the classes are automatically reloaded. However...

How is something like Zircon Zircomp different from ZeroC Ice?

Is there anyone that's currently using Zircon Zircomp? How is their technology different from something like ZeroC ICE? Are they trying to solve the same problem domain? How's their target audience different? Additional question: if I could choose between Ice and CORBA, should I go with Ice based on your experience? ...

Need a solution for middleware caching in C#

I have an ASP.net application that uses some common business object that we have created. These business objects are also used in a few other windows services or console applications. The problem I am running into is that if I have a class "foo" and a class "bar" and each has a function loadClient(), if I call foo.loadClient() and bar.l...

message driven vs. event driven approaches to application integration

Hello, I was wondering if there is a clear distinction between message driven and event driven environments when we refer to SOA or middleware and generally in cases of application and enterprise integration. I understand that a user interface resembles an event driven model where our system intercepts action by the user. Also it is cl...

Options for Client Server Communication in Android

I'm currently in the research phase of my dissertation project. My project is a ticket booking system for a mobile device and I have chosen to target Android. I anticipate the need for a client/server architecture with a central server, and so am currently looking at how Android could communicate with such a server. The server would gr...

django middware only "process_response" when miss trailing slash

i've write a middware like this: class LogMiddleware( object ): def process_request( self, request ): logging.debug("start") def process_response( self, request, response ): logging.debug("end") return response and i put it in the bottom of MIDDLEWARE_CLASSES most time it works fine. and when i test with url /admin wi...

Default list of Django built-in middleware

Django comes with a list of built-in middleware, but if one wants to use all (or most) of them, he has to work through tons of docs in order to get the right sorting in the settings.py file. Is there an optimal default order of all built-in Django 1.1 middleware classes? I.e., something to copy'n'paste into settings.py: MIDDLEWARE_CLAS...