Re: New to Restlet.

2008-11-08 Thread Justin Stanczak
On this page, see the "* Handle POST requests: create a new item." part,
that should help. As for the database, just start it with the server and use
thread safe call to get connection.

http://www.restlet.org/documentation/1.1/firstResource




On Sat, Nov 8, 2008 at 4:10 AM, Gan123 <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
>  i want to create a simple web application , which takes values from
> html form and stores them in database.
>
> RESTlet allows this kind of pages? what is the best way to do so using
> RESTlet?
> --
> View this message in context:
> http://n2.nabble.com/New-to-Restlet.-tp1473125p1473125.html
> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>
>


Restlet + Dojo?

2008-09-11 Thread Justin Stanczak
Anyone using this combo? Any tips? Just wanted to give a shout out. I'm
looking into using this combo, seems like a good fit. I would just use JSON
services with Restlet resources.


Re: Restlet with General Interface?

2008-04-04 Thread Justin Stanczak
You could compare it to GWT Designer for GWT. It is a GUI IDE for building
client side interface. Another good one is WaveMaker. I've used both. I
don't know jQuery, but from the site it looks like a dojo type of thing.
Using Javascript libs. Looks cool, maybe I'll learn it some time. I've
developed a little with GWT/Eclipse combo, but GI and WM give you the GUI
and mapping tools. Right now I think WM's down side is the security issue.
To add a login it's either the whole app or nothing. That all said I've yet
to use a GUI interface builder I like. I find just typing it out works the
best, but I have hope someday there will be. But wait, if I start using
drag-n-drop will I become a MS programmer :)

On Fri, Apr 4, 2008 at 3:22 AM, Jerome Louvel <[EMAIL PROTECTED]> wrote:

>
> Hi Justin,
>
> I don't know much about Tibco's GI. Here is the link to the project:
> http://www.tibco.com/devnet/gi/
>
> Could you describe what are its advantages compared to similar
> technologies
> like GWT or jQuery?
>
> Best regards,
> Jerome
>
> > -Message d'origine-
> > De : Justin Stanczak [mailto:[EMAIL PROTECTED]
> > Envoyé : mercredi 2 avril 2008 23:54
> > À : discuss@restlet.tigris.org
> > Objet : Restlet with General Interface?
> >
> > Anyone using Restlet with General Interface combo? Or
> > something similar? I just started an application using it and
> > didn't know if anyone else has suggestions of tips with this
> > type of setup.
> >
> > --
> > "All that is necessary for the triumph of evil is that good
> > men do nothing." - Edmund Burke
> >
>
>


-- 
"All that is necessary for the triumph of evil is that good men do nothing."
- Edmund Burke


Re: Web.xml init parameters?

2008-04-03 Thread Justin Stanczak
Thanks, that seems to work. I was using something like that, but not getting
a value. The Javadocs was my first stop, but I guess I had something out of
place.

On Thu, Apr 3, 2008 at 4:31 AM, Thierry Boileau <[EMAIL PROTECTED]> wrote:

> Hello Justin,
>
> the init parameters are available in the application's context ([1]):
> getApplication().getContext().getParameters().
>
> best regards,
> Thierry Boileau
> "What is without periods of rest will not endure." Ovid
>
> [1]
> http://www.restlet.org/documentation/1.1/ext/com/noelios/restlet/ext/servlet/ServerServlet.html
>
> On Thu, Apr 3, 2008 at 1:39 AM, Justin Stanczak <[EMAIL PROTECTED]>
> wrote:
> > How do I get init parameters that I set in web.xml? getParams and
> getAttr in
> > the context, but I'm not getting anything.
> >
> > --
> > "All that is necessary for the triumph of evil is that good men do
> nothing."
> > - Edmund Burke
>



-- 
"All that is necessary for the triumph of evil is that good men do nothing."
- Edmund Burke


Web.xml init parameters?

2008-04-02 Thread Justin Stanczak
How do I get init parameters that I set in web.xml? getParams and getAttr in
the context, but I'm not getting anything.

-- 
"All that is necessary for the triumph of evil is that good men do nothing."
- Edmund Burke


Restlet with General Interface?

2008-04-02 Thread Justin Stanczak
Anyone using Restlet with General Interface combo? Or something similar? I
just started an application using it and didn't know if anyone else has
suggestions of tips with this type of setup.

-- 
"All that is necessary for the triumph of evil is that good men do nothing."
- Edmund Burke