• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Java Version for Struts2

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can I Implement Struts 2 in my application if I have Java 1.2 in production environment?

Thanks,

Aashu
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I seriously, seriously doubt it.

Java 1.2?! In *production*? How much are you guys paying for support?!
 
Ashutosh Arya
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes David,

The problem is that this application is very old and I am new to the team.

The server they are using in production (iPlanet 6) comes packaged with Java 1.2 thats why I as a developer feels crippled sometimes.

Can you suggest any workaround for this? How can i implement Struts2!

If you suggest any workaround for the server upgradation also I will be more than happy to work over it. As its very difficult to get a descent step by step documentation to upgrade a server.

Waiting for your reply.

Thanks in advance,

Aashu
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I seriously doubt there's any viable workaround. Struts 2 lists its requirements as Java 5, Servlet spec 2.4. You can use retroweaver (or similar tool) to take the jars down to 1.4 compatibility, and I know Struts 2 used to work with servlets 2.3, but I seriously doubt you'll get it to work under Java 1.2/Servlet 2.2--there are just too many differences. You could *try* it, but if something goes wrong, the chances of a fix on the Struts 2-side are zero.
 
Ashutosh Arya
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok David!

So first I will try to solve the root cause...But its quite a bigger task...Upgrading the server so that it can support JDK 6.
Do you have any advice ?

Anywhere where I can find ways to upgrade iPlanet version.I hope the upgraded version will support the latest JDK.

Please help me out as I am really in a fix this time.

Regards,

Aashu
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even if it supports Java 6, it's still a Servlet 2.3 engine.

http://struts.apache.org/2.1.8.1/docs/requirements.html#Requirements-Technology

It *may* work, assuming you can get the server to run on a real Java. If it *doesn't*, however, you are unlikely to get much, if any, support.

I'd consider encouraging a server upgrade.
 
Ashutosh Arya
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok Thanks David,

Even I am looking for the same.

But installing a new server and deploying the application is not that easy on Solaris if you don't have a proper documentation and Idea how to do it. That too the monitoring team is familiar with iPlanet and not any other server so it will be a costly affair to learn the new server functionality.

I was thinking that whether I can get iPlanet latest version and get it installed (I suppose the better option) or I should go for some other server like JBOSS.

I will appreciate if you can guide in this regard otherwise thanks a lot for your time up to now.

Thanks a ton again,

Aashu.

 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
*I* wouldn't attempt to try to get iPlanet to work when there are so many other great alternatives--but your operations crew might have a different opinion ;)
 
Nothing up my sleeve ... and ... presto! A tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic