I built some example J http servers before JHS - I was modelling the concepts and I wound up using them for user authentication support for usatoday.com, back before most of that got switched to facebook. They were pretty simple and you can find some of them up on the J wiki.
But I have not decided whether I want to dust off one of those implementations and wire it into JHS as an alternate server or if I want to get into JHS internals and make them behave "my way". I want a public facing http port that talks to J along with a local JHS instance that I can talk to with a web browser. But the public facing one is going to get spammed occasionally and I want to limit the damage that can occur. But that is vaporware until it is implemented (a problem facing all software projects). Thanks, -- Raul On Fri, Mar 7, 2014 at 6:22 AM, Joe Bogner <[email protected]> wrote: > I've used nginx to reverse proxy specific URLs to the JHS server -- > effectively acting as a more limited http server. nginx supports > caching and logging and all the things you'd expect in a production > grade web server. That's why I opted for it over a native J web proxy. > I'd be interested in a J proxy but haven't put the time into it. > > With J, there are several options for the socket programming and two > styles - sync vs async > > 1. socket.ijs - async limited on linux if I recall correctly. blocking > socket support seems fine > 2. J8 has QT which has a whole range of socket options > 3. Use some other 3rd party cross platfrom dll (e.g. libuv or 0mq) > > If you rolled your own, how were you going to approach it? > > > > On Fri, Mar 7, 2014 at 3:32 AM, Raul Miller <[email protected]> wrote: > > I want to set up a jhs server on localhost and a much more limited J http > > server listening on some other ip. > > > > Does anyone have an example of how to do this? Or do I need to "roll my > > own"? > > > > Thanks, > > > > -- > > Raul > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
