aders thomas

Greenhorn
+ Follow
since Nov 19, 2001
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 aders thomas

Hi - I am building a user-group-role database on SQL server, and using Tomcat JDBCRealm to authenticate user logins to my webapp against this database (easy to set up - works well).
I would now also like to use the Tomcat admin client (in V4.1 and V5) to create and edit the users / groups / roles stored in this SQL server database - ie. to replace the tomcat-users.xml file which is managed by the admin client using a MemoryUserDatabase.
Has anyone tried anything like this, if so ...
1. Are there any "JDBC" or "SQL" UserDatabase classes I can use to do this (rather than MemoryUserDatabase).
2. If not, and I wrote my own implementation, what else would I need to configure to plug it into Tomcat ?

Thanks for any feedback ...
20 years ago
Darryl, Jitender
I agree two sets of sequence diagrams seems frustrating,
but my feeling they should support both the web and GUI clients
(in fact, the assigment grading guide states this!), hence the question... I'm thinking along the lines of defining something like abstract factory, which I can use to create mvc and/or servlet
controller components... I'll let you know how I get on with this !
> If you communicate direct with EJB Layer how does it support SSL.
> You can use custom secure socket factories but I think that's not fully EJB spec conform.
Torsten, I'm assuming also the GUI is to be used internally within the organisation -
the requirements seem to imply this - so hence communication (over RMI) with EJBs
on the application server - SSL is only a specific requirement for the external
browser to web server communication. This ties in quite nicely with network security / topology, since it supports deployment of the GUI inside an internal firewall,
and the web servers in a DMZ.
My part 2 assignment indicates a requirement for a GUI application, in addition to the web application.
My key assumption here is that the GUI is stand alone, and it communicates directly with the application
server - not via the web server.
So - I would like to create a generic design pattern for client-side, which I can express on the UML diagrams
without drawing separate class and sequence diagrams specifically for servlets & JSPs (in the web application)
and MVC (in the GUI), so interested to hear if anyone has tried anything similar ?
Passed this morning with 86%, three months after completing my SCJD. My advice for taking the exam:
1. Study in depth the excellent Servlet, JSP notes in the links provided here.
2. Practice! Get a (free) copy of Tomcat and write yourself a web application, try out all aspects of Sun's published exam objectives. If you have already done the SCJD assignment, try writing a web front end for your Fly By Night database server!
Aders
21 years ago
This is an idea for those like me who have already completed their SCJD assignment, and are interested in putting all that fine old code to good use! I am currently doing a lot of practical preparation for this one by building a web front end for my Fly By Night database server. As I seem to be one of the rare breed that originally used TCP/IP this has been quite easy to do and is proving an interesting test of my original database server design. I have used both Serlvets and JSP in my web application and have been able to incorporate many of the objectives listed for the SCWCD exam which has proved to be a great learning exercise for me.
Would be interested to hear if anyone else has tried anything like this ?
After waiting 4 weeks I contacted Sun only to find they had "lost" my written exam submission from Prometric!.
Anyway, here (finally) is my score, not so good on the GUI which I rushed but I spent a long long time getting design and documentation right which proved worthwhile.
General Considerations(maximum = 58): 58 Documentation(maximum = 20): 20 GUI(maximum = 24): 17 Server(maximum = 53): 51
Happy to answer any questions if you are looking for help.