Re: How to protect IP in GWT.

2016-02-19 Thread Kirill Prazdnikov
Hi Ed, I did that, I don't see java code. Please show me the original java code. I only see this link http://kp219.ru/delightex.graphicsTestGwt/C6EA11A80A42BD80D635C3EF7C795530.cache.js And again it does not contain the java code. -Kirill On Friday, February 19, 2016 at 8:56:08 PM UTC+3,

Re: ProjectStruture

2016-02-19 Thread Kirill Prazdnikov
Can you avoid rewriting the server code at all ? It might be possible to just rewrite a client in GWT and leave the protocol as is. On Friday, February 19, 2016 at 10:17:36 PM UTC+3, Sam Wootton wrote: > > Thank you Gilberto, good advice. Im not sure it will reduce work or > achieve the

Re: How to protect IP in GWT.

2016-02-19 Thread David
What I want is listed below: 1. I have some Java source code like this public abstract class StartEntryPoint implements EntryPoint { public void onModuleLoad() { callNeedToProtect1(); callNeedToProtect2(); callProtectedMethod(); } private void

Re: How to protect IP in GWT.

2016-02-19 Thread David
What I want is listed below: 1. I have this Java source code public class StartEntryPoint implements EntryPoint { public void onModuleLoad() { } } On Saturday, February 20, 2016 at 6:54:36 AM UTC+8, Thomas Broyer wrote: > > Put differently you need a ProGuard that would work with sources.

Re: GWT vs AngularJS

2016-02-19 Thread Luigi Bifulco
Where I work we have old projects written in GWT and new projects written on Angular. I was only involved in projects using GWT and I know Angular very well. I think GWT has been misunderstood. Beginners don't care about programming languages, beginners didn't understand that GWT is basically a

Re: How to protect IP in GWT.

2016-02-19 Thread Thomas Broyer
Put differently you need a ProGuard that would work with sources. Not sure that exists … -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: ProjectStruture

2016-02-19 Thread Paul Robinson
GWT RPC may not be supported beyond GWT 2.8, so I'd be wary of using it for a new project now. Paul On 19 Feb 2016 8:17 p.m., "Sam Wootton" wrote: > Thank you Gilberto, good advice. Im not sure it will reduce work or > achieve the 'minimal' server rewrite (or rather

Re: ProjectStruture

2016-02-19 Thread Sam Wootton
Thank you Gilberto, good advice. Im not sure it will reduce work or achieve the 'minimal' server rewrite (or rather maximal legacy reuse), but at least it will be done properly. I hadnt heard of RestyGWTbefore, so thanks. I'll give your advice a go, and see where it takes me. Regards, Sam On 19

Re: ProjectStruture

2016-02-19 Thread Gilberto
I don't think my comment will help you out, but in my opinion you shouldn't go to GWT RPC if you're rewriting the communication with the server. Go RESTful. Given the nature of your application, a pure RESTful structure can not be achieved, but at least you can start using REST frameworks, such

Re: How to protect IP in GWT.

2016-02-19 Thread Ed
Use developer tools in your Browser edit and resend the call to the js files Ed On Fri, Feb 19, 2016 at 11:11 AM, Kirill Prazdnikov wrote: > This is my app build by GWT: http://kp219.ru/GraphicsTest.html#12 > How can one view original Java source code? > > -Kirill > > > On

Re: ProjectStruture

2016-02-19 Thread Sam Wootton
I guess one of the main problems is jumping from RemoteServiceServlet (setting session data), then handing control over to a 'standard' Servlet (which does db work, business logic, sets new session data and attempts to write, a now redundant?, response)... then jumping back in to the original

Re: How to protect IP in GWT.

2016-02-19 Thread Kirill Prazdnikov
This is my app build by GWT: http://kp219.ru/GraphicsTest.html#12 How can one view original Java source code? -Kirill On Friday, February 19, 2016 at 2:43:47 PM UTC+3, David wrote: > > I am not working in USA. Here IP is not protected well. I need to protect > IP by myself. I need to figure

Re: com.google.web.bindery.requestfactory.shared.impl.Constants missing in both requestfactory-client and requestfactory-server

2016-02-19 Thread Thomas Broyer
On Thursday, February 18, 2016 at 8:59:10 PM UTC+1, Dirk Holzenburg wrote: > > Hi everyone, > > why is com.google.web.bindery.requestfactory.shared.impl.Constants missing > in both requestfactory-client.jar and requestfactory-server.jar? Is there > any particular reason? > Those JARs are

ProjectStruture

2016-02-19 Thread Sam Wootton
​ ​Dear GWT Users, Many thanks in advance for any help and advice. Very much appreciated! I have a legacy application: java Swing client with XML based Servlet communication (request and response). The server comprised of aro ​​ und 10 Servlets, one 'Front Controller' that forwarded

Re: GWT Rolling Deployment

2016-02-19 Thread Jens
> These exceptions on the next request are problematic for us because that > means all the data entered into a form and being submitted will be lost > when the exception occurs. How are you dealing with these kind of issues? > The app uses aggressive auto saving when editing. Only issue is

How do I disable super dev mode so that I can use my Gwt module in a separate web project

2016-02-19 Thread gautam
Hi, I am building a web module with GWT 2.7.0. I want copy the generated module folder in my maven output folder i.e. target and refer it in a separate web app. When I try to do so it keeps popping up Couldn't load from server dialog. I tried false and added this to my module file but

Re: One GWT App - Multiple WAR's

2016-02-19 Thread gautam
Simply add the two module nocache.js to a single html. i.e. you need to have two distinct modules with their own entry points for them to compile as separate js but you can add them to a single host page. On Friday, February 19, 2016 at 3:23:49 PM UTC+2, mseele wrote: > > But what i want is

Re: One GWT App - Multiple WAR's

2016-02-19 Thread Michael Seele
But what i want is "one html app" where part of the ui (result content of the searches) is from the validated js (for the validated searches) and non-validated js (for the non-validated searches). -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Re: One GWT App - Multiple WAR's

2016-02-19 Thread gautam
Simply create two separate gwt.xml with separate EntryPoint classes. Place them in two different html host pages.. It should create two modules accessible through their own html. On Friday, February 19, 2016 at 10:02:35 AM UTC+2, mseele wrote: > > Thank you for your answer. Is it possible to

Re: GWT Rolling Deployment

2016-02-19 Thread Thomas Bachmann
These exceptions on the next request are problematic for us because that means all the data entered into a form and being submitted will be lost when the exception occurs. How are you dealing with these kind of issues? I assume without GWT-RPC I'd have less coupling between client and server

Re: Still active?

2016-02-19 Thread Sam Wootton
Hello Alain & Lothar, Ah good news. Thanks for your prompt responses. I have already checked existing posts, and found something similar in https://groups.google.com/forum/#!topic/google-web-toolkit/kRmrirPsFC8 .. but it doesn't quite fit my situation. So i'll investigate a little further,

[gwt-contrib] Re: Github issue tracker label cleanup

2016-02-19 Thread Thomas Broyer
On Friday, February 19, 2016 at 12:50:42 PM UTC+1, Jens wrote: > > Feel free to get a patch up for review in Gerrit if you have time, I'll >> review it. Question: do we put those in a .github/ folder or directly at >> the repo root (next to the README)? >> > > I would put issue/pull request

Re: Still active?

2016-02-19 Thread Lothar Kimmeringer
Am 19.02.2016 um 12:54 schrieb Sam Wootton: > Before posting my question, I just wanted to check that this > group was still active? it is and before you ask you might check https://groups.google.com/forum/#!forum/google-web-toolkit if your question isn't already answered. ;-) Cheers, Lothar

Re: Still active?

2016-02-19 Thread Alain Ekambi
More than ever :) On 19 Feb 2016 13:34, "Sam Wootton" wrote: > Hello GWT Users, > > Before posting my question, I just wanted to check that this group was > still active? > > Regards, Sam > > -- > You received this message because you are subscribed to the Google Groups >

Still active?

2016-02-19 Thread Sam Wootton
Hello GWT Users, Before posting my question, I just wanted to check that this group was still active? Regards, Sam -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Js Interop question

2016-02-19 Thread Kirill Prazdnikov
It means it is much simpler and faster in RT just to leave it as is in JSNI. Right ? On Friday, February 19, 2016 at 12:56:06 PM UTC+3, Jens wrote: > I think you either have to create a custom JS function that does the > default value thing so you can call that function using JsInterop or you

[gwt-contrib] Re: Github issue tracker label cleanup

2016-02-19 Thread Jens
> > Feel free to get a patch up for review in Gerrit if you have time, I'll > review it. Question: do we put those in a .github/ folder or directly at > the repo root (next to the README)? > I would put issue/pull request templates into .github/ and a possible contributing.md on the root.

Re: How to protect IP in GWT.

2016-02-19 Thread David
I am not working in USA. Here IP is not protected well. I need to protect IP by myself. I need to figure out way how to prevent other developer from viewing original Java source code related to GWT. On Friday, February 19, 2016 at 2:45:46 AM UTC+8, Gilberto wrote: > > > I'd never like to work

[gwt-contrib] Re: Github issue tracker label cleanup

2016-02-19 Thread Thomas Broyer
On Thursday, February 18, 2016 at 10:06:54 PM UTC+1, Jens wrote: > > I noticed that the Github issue tracker has a large number of labels and > IMHO most of them are not used anymore. If time permits I thought about > cleaning labels up so its more streamlined: > > - Convert Milestone labels

Re: GWT vs AngularJS

2016-02-19 Thread Alain Ekambi
Someone wrote it earlier. Angular2 is written using TypeScript. I think that said it all. Why not simply use vanilla JS to build Angular JS 2 ? Because JS sucks at scale. Bottom line. I know some JS ninjas will disagree. If you are going to use something on top of JS to generate JS (TypeScript)

Re: Js Interop question

2016-02-19 Thread Jens
I think you either have to create a custom JS function that does the default value thing so you can call that function using JsInterop or you need to return Double (so the method can return null if devicePixelRatio is not available) and do the default value thing in Java using an additional

Js Interop question

2016-02-19 Thread Kirill Prazdnikov
Hi how can I code the following with JS Interop ? public static native float devicePixelRatio() /*-{ > return $wnd.window.devicePixelRatio || 1; > }-*/; thanks -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group

Re: GWT vs AngularJS

2016-02-19 Thread Kirill Prazdnikov
My 2 cents. We write portable code. We build it for GWT, iOS, Android. GWT is a java compiler, a way to have portable logic. More portable logic, less code to maintain, less bugs. -Kirill -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Re: One GWT App - Multiple WAR's

2016-02-19 Thread mseele
Thank you for your answer. Is it possible to compile the modules into seperate output directories to deploy them via different WAR,s? We work with multiple modules but I thought that at the end all the referenced modules will be compiled into "one" js file. Is there a compiler option to