A Little Frustrated with J2EE

Ok this is a mini vent, please indulge me for a moment.

First thanks for finally fixing the web module dependencies, deployment
and packaging problem. Unfortunately that's only in Irida, so I'm going
to have to wait before I can use it. Why? Well if you look up in the
tracker, I've hammered for about 20 minutes on Irida, and without even
trying I am finding all sorts of problems in the j2ee aspects of Irida.

Now I expect stuff to be broken, and get better, BUT...

I've made a full web app available to the team, because I know you guys
don't develop web apps every day, and I feel like you guys are not
taking advantage of the situation. I am practically begging you to do
so. Case in point is that I opened up my project, opened up the wsdl
file, everything was marked red, so I imported the missing resource
files... everything is still red. Maxim posted it as fixed. It's not,
and it was obvious in 10 seconds of opening the project.

I opened up a jsp file, and the tags libs don't resolve, even thew some
exceptions when I opened a second file. Filed those.

I opened up the web.xml file and now class names don't resolve in the
web.xml, even though my libraries are included, and the proof of it is
that some classes do resolve and are not marked red.

I think I have a couple more, but I won't harp on the issue... the
problem is that I feel like we do our best to provide you with as much
feedback, and we certainly get the support back for it, but when I give
you a full project you can feel free to check out directly from my
repository at any time, one which has a slight level of complexity and a
growing mix of technologies for you to use as your testing ground, I
wish an effort would be made to say... "Hey, open this build up in
Robert's project and look around there for 20 minutes to see if
everything is still OK, or if anything obvious is broken"... I am SURE
the result will be that at least the major parts of j2ee are working OK,
at the very least the visual feedback idea gives you when something that
is OK looks OK, does not show as OK.

Thanks for indulging me.

R

15 comments


I work on enterprise J2EE software, and have similar needs to Robert's. I am really looking forward to Irida features mainly because of the promised improved formatting, completion, refactoring, error/warning indications for JSP / HTML / XML code.

In general, whenever I try to configure a web 'module' in IntelliJ or Eclipse, I start getting a headache. In my case, I don't want IntelliJ or Eclipse to fully understand how I deploy my web application and which J2EE application server I am using. I don't even use IntelliJ to build my project. All compilations, packaging, deployment, etc. is done 100% through IDE-independent ant scripts.

Ideally, I just want to specify the minimum information to enable all of IntelliJ main features like navigation (find usages, goto declaration,etc.), formatting, completion, refactoring, and errors/warning/expections.

-Alex

0

ditto

Alex wrote:

I work on enterprise J2EE software, and have similar needs to Robert's. I am really looking forward to Irida features mainly because of the promised improved formatting, completion, refactoring, error/warning indications for JSP / HTML / XML code.

In general, whenever I try to configure a web 'module' in IntelliJ or Eclipse, I start getting a headache. In my case, I don't want IntelliJ or Eclipse to fully understand how I deploy my web application and which J2EE application server I am using. I don't even use IntelliJ to build my project. All compilations, packaging, deployment, etc. is done 100% through IDE-independent ant scripts.

Ideally, I just want to specify the minimum information to enable all of IntelliJ main features like navigation (find usages, goto declaration,etc.), formatting, completion, refactoring, and errors/warning/expections.

-Alex


--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]

0

Ahem... clearing throat...

While the idea of using our projects as best you can to see if they work
still holds, I just went through the exercise of rebuilding all my irida
project files, and tossing everything including settings files,
preferences caches etc... I did the toss of prefs and cache first and
tested with same results, then I re created my irida files, and now it
seems the jsp tags resolve as expected, I need to test more things
before I can declare a winner. That said it would have been nice to not
have to do all this over again, so I think the bugs stand if one was
using an existing irida or converting a pallada build.

Thanks
R

0

wsdl files still busted
web.xml name resolution of classes still busted.

R

0

Hi,

The features are working on fresh projects.
Please, be sure next time to check them in this context also.
Thank you very much for the feedback.

Robert S. Sfeir wrote:

wsdl files still busted
web.xml name resolution of classes still busted.

R

0

Ditto +1

For a long time I have longed (err...) to having a smart enough ant
integration so that there won't be a need for all these definitions.

I originally stopped using IntelliJ compilation because in version 2.6
one couldn't exclude directories from compilation and that didn't sit
well with Jetty 4.x source directory structure.

That feature was added, and more and more features are being addedd,
including creating an Ant script from a project (which doesn't work 100%
in all cases and some tweaking is needed sometimes).

I still think that all of that extra functionality should come as a part
of smarter and smarter ANT integration and not the way it is progressing
now, when eventually we will need to define a ton of things we already
did in our Ant scripts, not to mention 3rd party packages which come
with their own ANT script and not necessarily developed in IntelliJ.

I am not saying this is easy, but I am saying that the way it is
progressing now won't eventually be less work than what I am suggesting.

Amnon

Brad wrote:

ditto

Alex wrote:

>> I work on enterprise J2EE software, and have similar needs to
>> Robert's. I am really looking forward to Irida features mainly
>> because of the promised improved formatting, completion, refactoring,
>> error/warning indications for JSP / HTML / XML code.
>> In general, whenever I try to configure a web 'module' in IntelliJ or
>> Eclipse, I start getting a headache. In my case, I don't want
>> IntelliJ or Eclipse to fully understand how I deploy my web
>> application and which J2EE application server I am using. I don't
>> even use IntelliJ to build my project. All compilations, packaging,
>> deployment, etc. is done 100% through IDE-independent ant scripts.
>>
>> Ideally, I just want to specify the minimum information to enable all
>> of IntelliJ main features like navigation (find usages, goto
>> declaration,etc.), formatting, completion, refactoring, and
>> errors/warning/expections.
>> -Alex


0

Come on Maxim, tell us how you REALLY feel ;)

0

class name resolution in tlds doesn't seem to work anymore.

Maxim Mossienko wrote:

Hi,

The features are working on fresh projects.
Please, be sure next time to check them in this context also.
Thank you very much for the feedback.

Robert S. Sfeir wrote:

>> wsdl files still busted
>> web.xml name resolution of classes still busted.
>>
>> R

--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]

0

I had similar problems with a J2EE project but in EJB-context - DDs didn't work anymore.
Re-created the project and most errors were "fixed". This, however, is quite cumbersome... its difficult to test the EAP builds when I have to re-create the project from time to time, this can consume quite some time.
So, JB, what is the reason for this? Can't this be avoided (as it would make testing EAPs much easier)? How often will we have to re-create our projects?

kind regards,

Messi

0

Hi,

This seems to be the same problem as highlighting of servlet classes
from classes in web.xml, does it reproduce on fresh project?

Brad wrote:

class name resolution in tlds doesn't seem to work anymore.

Maxim Mossienko wrote:

>> Hi,
>>
>> The features are working on fresh projects.
>> Please, be sure next time to check them in this context also.
>> Thank you very much for the feedback.
>>
>> Robert S. Sfeir wrote:
>>
>>> wsdl files still busted
>>> web.xml name resolution of classes still busted.
>>>
>>> R


0

In article <cpv71k$ttj$1@is.intellij.net>,
Maxim Mossienko <maxim.mossienko@jetbrains.com> wrote:

Hi,

This seems to be the same problem as highlighting of servlet classes
from classes in web.xml, does it reproduce on fresh project?


Yes it does for me... at least so far


Brad wrote:

class name resolution in tlds doesn't seem to work anymore.

Maxim Mossienko wrote:

>> Hi,
>>
>> The features are working on fresh projects.
>> Please, be sure next time to check them in this context also.
>> Thank you very much for the feedback.
>>
>> Robert S. Sfeir wrote:
>>
>>> wsdl files still busted
>>> web.xml name resolution of classes still busted.
>>>
>>> R

>

0

Yes, I just spent over an hour rebuilding my project (which, I hope I
never have to do again) and still no class resolution in tlds.

Maxim Mossienko wrote:

Hi,

This seems to be the same problem as highlighting of servlet classes
from classes in web.xml, does it reproduce on fresh project?

Brad wrote:

>> class name resolution in tlds doesn't seem to work anymore.
>>
>> Maxim Mossienko wrote:
>>
>>> Hi,
>>>
>>> The features are working on fresh projects.
>>> Please, be sure next time to check them in this context also.
>>> Thank you very much for the feedback.
>>>
>>> Robert S. Sfeir wrote:
>>>
>>>> wsdl files still busted
>>>> web.xml name resolution of classes still busted.
>>>>
>>>> R
>>
>>
>>

--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]

0

In article <cq6op3$ak$1@is.intellij.net>, Brad <brad@dontuse.com>
wrote:

Yes, I just spent over an hour rebuilding my project (which, I hope I
never have to do again) and still no class resolution in tlds.


I've just looked again, and it seems that filters don't recognize
classes, nor do they do code completion.

You have a problem here Maxim. Feel free to look in our project and see
why that might be. I don't think I did anything weird.

R

0

Hi,

In most of xml (including tlds) we currently support navigation from xml
to java class and some completion.
This particular behavior was ideed broken in all Irida builds.

Brad wrote:

Yes, I just spent over an hour rebuilding my project (which, I hope I
never have to do again) and still no class resolution in tlds.

Maxim Mossienko wrote:

>> Hi,
>>
>> This seems to be the same problem as highlighting of servlet classes
>> from classes in web.xml, does it reproduce on fresh project?
>>
>> Brad wrote:
>>
>>> class name resolution in tlds doesn't seem to work anymore.
>>>
>>> Maxim Mossienko wrote:
>>>
>>>> Hi,
>>>>
>>>> The features are working on fresh projects.
>>>> Please, be sure next time to check them in this context also.
>>>> Thank you very much for the feedback.
>>>>
>>>> Robert S. Sfeir wrote:
>>>>
>>>>> wsdl files still busted
>>>>> web.xml name resolution of classes still busted.
>>>>>
>>>>> R
>>>
>>>
>>>
>>>

0

In article <cqcgjc$ihq$1@is.intellij.net>,
Maxim Mossienko <maxim.mossienko@jetbrains.com> wrote:

Hi,

In most of xml (including tlds) we currently support navigation from xml
to java class and some completion.
This particular behavior was ideed broken in all Irida builds.


Cool glad to see I wasn't doing anything wrong again.

Thanks Maxim.

R

0

Please sign in to leave a comment.