Brock Awadmay

Greenhorn
+ Follow
since Oct 16, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Brock Awadmay

I am currently in a situation where I must use a supplied modified jvm /jre version 1.4. If you must know its the JVM/jre that is supplied with IBM's WebSphere Application Server 6.1.

In order for the class files to work when deploying to WAS. I need to build using the same jvm as WAS. I have tried using the standard jvm to complie. (this hasn't worked for me yet, so I currently import the IBM modified JRE into eclipse and use the ant build functionality from within Eclipse (IBMjre) ).

I have several projects with classes in each that are used in the final project. Currently I am required to use the IBMjre in each project and build each project individually and pull the complied class files into the ear that I deploy.

1) I want to be able to build in one location, not 3 separate.
2) I do not want to have to import the IBMjre int eclipse to develop, to be able to develop and clean in eclipse using new version of jre (1.6), and when comes time to build the project ear do so with the IBMjre at that time. Backwards compilation of files developed on new version (in my understanding) is not an issue.

Currently each project has the following build.xml file.


then in the final project I pull in all the compiled .class files from each project and build the ear.


To solve 1) I envisioned doing three separate <javac> calls in the final build.xml file. Each to each of the projects.
This isn't hard, but I wonder if there is a better way to do this.

To solve 2) assuming I implement solution to 1 above, I wanted to override the jre that ant defaults to using.
by defining . but this causes an error in ant javac



I have read the ant manual I use ant version 1.6.5. Must I create a class that implements CompilerAdapter and point it to the IBMjre? If so is there any guidance on doing so?
would I be better off to upgrade my version of ant?

Please gurus of ANT give me guidance.


Really the source of many problems is WAS, and what I must do to get this project working with ILOG JRules. If you have any pointers, suggestions, knowledge to share or where I can gather more information It will be greatly appreciated.

THANK YOU for your time and effort.

13 years ago
Do you think jQuery is a good tool/library, to add to an old web app? (In particular I am asking about a 9 year old web app.)

In older web app's not setup for ajax, how beneficial is a move to using jQuery? (by not setup, it is not that they can't do it, it is just that none of the already codded logic is setup to use it, and in maintenance of old system I rarely get to be let loose to revamp old work).

Last question, is using jQuery in only a few spots across a web app worth the work to learn and implement it? Having one page that will use jQuery functionality while the rest of the application does not.

I have not really played with jQuery, but I think I would like to, what are your thoughts for using jQuery for rapid development and prototyping?

What of using jQuery alongside/in frameworks? things like cakePHP, many others. Does jQuery play well with technologies like google gears?

I do know that using jQuery is slightly different than using JS, but I find myself asking why is this so? simply because of better conventions?

Does the fact of jQuery replacing much of the code that you would have to code by hand and or the higher quality of that code being replaced lead many to the high levels of satisfaction with jQuery?

What type of change in performance does including the jQuery library normally have on pages? I think I have gotten the impression from many that it is very minimal.

Thank you so much.
slight modification to what I said before
<c:set var="debug" value="${Constants.DEBUG}" /> <%-- compiles, but returns the value "class" --%>
<c:if test="${debug == true}"> <%--thus evaluates to false, and is not correct--%>

I would expect that <c:if test="${Constants.DEBUG}"> is performing the same way

actually the compile error I mentioned before occurs in <c:if test="${<%=Constants.DEBUG%>}" />

(probably from mixing servlets and jstl)

once agian can someone explain why

14 years ago
JSP
I have an older webapp and just recently have been trying to upgrade it to use JSP 2.0 spec

I have a java Class named Constants (not a javabean) contains

public static final boolean DEBUG = true; //or false if I don't want debug messages to appear throughout web app

I have a jsp, an in that jsp I would like to use DEBUG as

<c:if test="${Constants.DEBUG}"> <%-- this does not work I get a compile error, but is off somewhere in jar file class and library I am unfamiliar with--%>

i then tried

<c:set var="debug" value="<%= Constanst.DEBUG%>" />
<c:if test="${debug == true}">
<%-- once again this does not work --%>

I am rather new to JSTL, EL, and JSP 2.0 and would appreciate any advice in accessing the variable from the class, and perhaps an explanation of why things are not working.

I feel I am at a point where I know enough JSTL, EL, and JSP to use them, but to cause problems (be dangerous) but not enought to fix the problems I cause.
14 years ago
JSP