Re: Problem creating a RPC Service

2009-08-03 Thread Nathan Wells
would you mind posting the code of the class you are trying to make work? it would be nice to see the package name and imports, as well as how you are using the FileWriter. On Aug 2, 1:42 am, Sednus sed...@gmail.com wrote:    Hi,         I am tring to implement a service using RPC, this

Re: Problem creating a RPC Service

2009-08-03 Thread Jason Parekh
In addition to what Nathan requests, is your backend running on App Engine? They do not support FileWriter. jason On Mon, Aug 3, 2009 at 7:16 AM, Nathan Wells nwwe...@gmail.com wrote: would you mind posting the code of the class you are trying to make work? it would be nice to see the

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
yes, it is runnning on App Engine, if it's not supported is there anyway to make this happen? public class CompileServiceImpl extends RemoteServiceServlet implements ICompileSercvice { public String compile(String code) { try {

Re: Problem creating a RPC Service

2009-08-03 Thread Jason Parekh
No, unfortunately you don't have file system access on App Engine. You can store data in databases, but you won't have any file handlers to that data. jason On Mon, Aug 3, 2009 at 11:25 AM, Sednus sed...@gmail.com wrote: yes, it is runnning on App Engine, if it's not supported is there

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
Well, I really need to create a file on the server side and write on it whatever the user types on a text area is there any onther way to accomplish this? On Aug 3, 10:30 am, Jason Parekh jasonpar...@gmail.com wrote: No, unfortunately you don't have file system access on App Engine.  You

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
Well, I really need to create a file on the server side and write on it whatever the user types on a text area is there any onther way to accomplish this? On Aug 3, 10:30 am, Jason Parekh jasonpar...@gmail.com wrote: No, unfortunately you don't have file system access on App Engine.  You

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
Well, I really need to create a file on the server side and write on it whatever the user types on a text area is there any onther way to accomplish this? On Aug 3, 10:30 am, Jason Parekh jasonpar...@gmail.com wrote: No, unfortunately you don't have file system access on App Engine.  You

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
Well, I really need to create a file on the server side and write on it whatever the user types on a text area is there any onther way to accomplish this? On Aug 3, 10:30 am, Jason Parekh jasonpar...@gmail.com wrote: No, unfortunately you don't have file system access on App Engine.  You

Re: Problem creating a RPC Service

2009-08-03 Thread Jason Parekh
Not that I'm aware of (I'm not too familiar with App Engine though, so hopefully someone else chimes in.) jason On Mon, Aug 3, 2009 at 12:00 PM, Sednus sed...@gmail.com wrote: Well, I really need to create a file on the server side and write on it whatever the user types on a text area

Re: Problem creating a RPC Service

2009-08-03 Thread Daniel Jue
Sure, you just have to run it on your own server, running jetty or tomcat, etc. On Mon, Aug 3, 2009 at 12:00 PM, Sednus sed...@gmail.com wrote: Well, I really need to create a file on the server side and write on it whatever the user types on a text area is there any onther way to

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
Yes, I was planning to run it on my own server... but how do I make that while still using GWT? is it possible? On Aug 3, 11:04 am, Daniel Jue teamp...@gmail.com wrote: Sure, you just have to run it on your own server, running jetty or tomcat, etc. On Mon, Aug 3, 2009 at 12:00 PM, Sednus

Re: Problem creating a RPC Service

2009-08-03 Thread Daniel Jue
It really has nothing to do with GWT. You would have a servlet on the serverside that responds to rpc calls, and the servlet would call some file writing command. (in the simplest, non-refactored way). The file writing part doesn't care where the input came from. As in logging, you won't be able

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
Well, I am trying to make an interface so that students can write their code on the web and I can compile it and run it in a computer cluster( Parallel Programs)... For them to see the how they work... but I've never worked woth stuff like this :s I am really noobie , but yes I need to create the

Re: Problem creating a RPC Service

2009-08-03 Thread Trevis
I dont think that you're looking at your problem right. For starters GWT and AppEngine are to totally separate and unrelated things. If you don't intend to host on AppEngine you probably dont need to develop with it. Using RPC's to add lines of text to a file sounds like a really bad idea. Like

Re: Problem creating a RPC Service

2009-08-03 Thread Daniel Jue
Thinking more on this particular app, I think you've hit the nail on the head. While I don't know all the requirements, I would say you would split this into a few pieces: A console/service app that gets text from somewhere and runs it. (The somewhere could be directly from a DB if you can

Re: Problem creating a RPC Service

2009-08-03 Thread Sednus
Thanks a lot guys, I'll give it a try. On Aug 3, 1:40 pm, Daniel Jue teamp...@gmail.com wrote: Thinking more on this particular app, I think you've hit the nail on the head. While I don't know all the requirements,  I would say you would split this into a few pieces: A console/service app

Problem creating a RPC Service

2009-08-02 Thread Sednus
Hi, I am tring to implement a service using RPC, this service should be able to take a string (originally written by user on a text area) and save it into a text file onto the server side. My problem is that when I create the FileWriter object Eclipse says that FileWriter is not