UML and Java Design Patters
I am new to UML and Java Design Patterns
Please suggest some good books for UML and Java Design Patterns.
Venu
I am new to UML and Java Design
Patterns
Please suggest some good books for UML and Java
Design Patterns.
VenuThere are only a few of them:
http://www.amazon.com/gp/product/0596007124/ref=pd_bxgy_text_b/102-9140088-0344105?%5Fencoding=UTF8
http://www.amazon.com/gp/product/0130935387/ref=pd_sbs_b_3/102-9140088-0344105?%5Fencoding=UTF8&v=glance&n=283155
http://www.amazon.com/gp/product/0471227293/ref=pd_sim_b_5/102-9140088-0344105?%5Fencoding=UTF8&v=glance&n=283155
http://www.amazon.com/gp/product/0201485397/102-9140088-0344105?v=glance&n=283155
Similar Messages
-
Hi
I'm working with Sun One Studio 5.1 and
i'm interested about how the
modelling products can be used in Java Creator as useful input and improve
system Development.
Would be great!!!
RegardsI am new to UML and Java Design
Patterns
Please suggest some good books for UML and Java
Design Patterns.
VenuThere are only a few of them:
http://www.amazon.com/gp/product/0596007124/ref=pd_bxgy_text_b/102-9140088-0344105?%5Fencoding=UTF8
http://www.amazon.com/gp/product/0130935387/ref=pd_sbs_b_3/102-9140088-0344105?%5Fencoding=UTF8&v=glance&n=283155
http://www.amazon.com/gp/product/0471227293/ref=pd_sim_b_5/102-9140088-0344105?%5Fencoding=UTF8&v=glance&n=283155
http://www.amazon.com/gp/product/0201485397/102-9140088-0344105?v=glance&n=283155 -
Is UML's package equivalent to Java package? If so, what Java counterpart is UML's component equivalent to?
After some surveys I find that
1. UML package is an "aggregation" of the inside class while Java package is not.
2. UML package has visibility modifiers while in Java , you have to implement package interface.
3. UML package can inherit another UML package
(MartinS, is the above what "isomorphic" you mean?)
To me, it is quite confusing, as I think a UML component can be implemented by a jar/war/zip, a java file which containing several classes, or a package in Java. And a UML package can also be implemented by jar/war/zip and package.
UML package and component are just high level or analysis model of the system while what you are selecting the Java counterparts to implement is a design choice. -
I�d like to buy some books about java & UML..
Can you recomend me any, please?
thanks!
David
ArgentinaTwo excellent Sun books:
http://www.sun.com/books/catalog/crupi/
http://www.sun.com/books/catalog/stelting/
Martin Fowler
http://www.martinfowler.com/
Bruce Eckels
http://www.mindview.net/Books
---Links---
UML Standard
http://www.omg.org/uml/
More OO/UML Links
http://directory.google.com/Top/Computers/Programming/Methodologies/Object-Oriented/
http://directory.google.com/Top/Computers/Programming/Methodologies/Unified_Process/ -
Hi,
I'm looking for a good book (or URL) regarding J2EE application design using UML... That is, I know a bit about Java and a little about OO principles but I don't know where to start in terms of putting what I know into practice.
Would be grateful for some advice - and thanks in advance!Thanks for the feedback - I will check out Martin
Fowlers book and the URL. Also, I guess my question
was a bit dum in the sense that UML is implementation
independent (long words now) but I find the thought
of implementing a set of UML documentation extremely
daunting, to say the least. Any
books/resources/other on this?Start with Fowler.
"implementing a set of UML documentation" - you mean a complete design? Yes, it can be a lot of work, depending on how rigorous you want to be. (For example, doing a complete UI design will become quite a challenge, indeed.)
Fowler has some fine thoughts about UML and its uses. He says there are two schools of thought:
(1) Sketchers, or folks who use snippets of UML to communicate their ideas to others. These folks are used to working on sheets of paper and whiteboards, and
(2) "UML as blueprint" folks want to treat UML designs like engineering drawings. Their goal is to take a complete design and either throw it over the wall for implementation, much like engineering firms used to heave drawings over the wall to manufacturing departments, or pass it to a model driven development package that would parse the UML and spit out a complete code base.
I'm firmly in the sketchers camp.
I don't think heaving drawings over the wall has proven very effective for engineering and manufacturing firms. I don't think it will be much better for software firms. Engineering is guided by the laws of physics and 1000s of years of experience. Computer science and software development isn't nearly at that level yet.
If you can get some good class diagrams and capture your most important use cases as sequence diagrams I'd say you were making a fine start.
% -
Web design reporter and Report designer is not working in SAP BI
Hello,
I am facing JAVA RFC error in Web reporting designing and reporting designer tools in BEx application. For more details please check the attachment in mail Any one help me for this issue.
Please check the my system details in the following
SAP ECC 6.0 EHP 6 with ABAP stack
SAP BI 740 with ABAP stack
BO 4.1
Thanks & regards,
SurendraHi,
Check with basis team , either they have configured rfc connection properly or not.
Refer below also:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a?QuickLink=index&…
Thanks. -
What is the diffrence between package javax.sql and java.sql
Is javax designed for J2EE?
And when to use package javax?Hi,
What is the diffrence between package javax.sql and java.sql?The JDBC 2.0 & above API is comprised of two packages:
1.The java.sql package and
2.The javax.sql package.
java.sql provides features mostly related to client
side database functionalities where as the javax.sql
package, which adds server-side capabilities.
You automatically get both packages when you download the JavaTM 2 Platform, Standard Edition, Version 1.4 (J2SETM) or the JavaTM 2, Platform Enterprise Edition, Version 1.3 (J2EETM).
For further information on this please visit our website at http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Micro Systems
http://www.sun.com/developers/support/ -
How not to use Cold Fusion and Java
Overview
This write up is intended to give java developers that are
developing ColdFusion applications some beneficial information:
things that are not documented.
Scenario
The company builds enterprise class web application software
for fortune 500 companies. It had purchased a CF 7 based product,
had and existing proprietary J2EE based product, and needed to
integrate the two while meeting a host of new requirements. These
requirements were based on delivering a better user experience,
faster / cheaper integration, increased flexibility /
configuration, useablily, decreasing maintenance costs, the ability
to deploy in either install or ASP models. An initiative was
started to create a new framework that integrated the best of each
technologies. Tactically, this meant that we were to build a hybrid
CF and java application: one that used building blocks (decoupled /
cohesive components) that would allow applications to be rapidly
assembled, configured and deployed. This made sense on several
levels, the team was composed of Java and CF developers, the CF
rapid application development was very productive, there is great
functionality delivered in the CF platform and initial performance
tests showed no cause for alarm
The agreed upon design, based on requirements, and analysis
by both the CF and Java staff has us using CF in the presentation
layer, using a CF based MVC, use of CF based web services. The MVC
was deployed using CFC inheritance for model objects and views made
use of CF custom tags. The internals of the application, used a
rules engine, some proprietary java, ORM, and other J2EE
technology. The initial performance of the system was reasonable.
We pushed on with product implementation.
Then it was time to load test the application, and tune it.
Under load the response times were orders of magnitude slower,
sometimes the pages even timed out.
Armed with our profiler, oracle execution plans and we
charged ahead addressing issue after issue. Note that we took
meticulous care in tweaking the active thread pool and ensuring
that our CF setup was tuned for our application. None of the
observations here are a condemnation of the language; rather they
are aspects that, when considered together, not conducive for
building integrated java and CF frameworks that use a structured /
OO programming practices. Further detail can be provided on
request.
CFC inheritance should be avoided - resolution of variable
scope is expensive even if properly declared.
Since CF creates a class per method under the covers call
stacks become very large, especially if used in a loop. This is
nominally exacerbated by CF calls necessary to set up for the
method call (String.toUpper()).
Nesting of loops and if statements should be kept to a
minimum - the conditional for each lookup of logical operator like
LT, GT are synchronized. Under load this results in thread waits.
Jrun has as single thread pool - both http and web service
requests use the same pool. Under load this leads to thread
deadlock. There are work arounds, but they are painful.
Recursion should be avoided - we had a few recursive routines
and these had to be rewritten.
Custom Tags - should be used sparingly - each custom tag
makes a synchronized call to the license server - (This may be
fixed in CF 8)
Summary
In the end we got the performance to reasonable numbers, but
we ended up moving some code to java (Custom Tags) and getting rid
of 'good programming' practices (Inheritance, loops, etc), mandated
proper variable scoping for those things left over. We prototyped a
sans cold fusion implementation and had an order of magnitude
improvement in performance and number of requests served per
second.
The lesson? Use Coldfusion in its sweet spot: make a query,
iterate over the results and format for display. Extensive use of
structure programming techniques or OO CFCs should be avoided: they
will work but under load - but are better as a prototype. Building
frameworks in CF? Think twice, no three times, and, if you must, be
minimalist.
Textinteresting aslbert123,
Not that I doubt you, but could you answer some questions
about your implementation that was so slow:
1.) Did you put your CFCs in the application or server scope?
2.) Were you initializing your CFCs, via CreateObject or
<cfinvoke>, on every request?
3.) Are you sure that you were properly Var'ing every
variable in your methods? (people typically forget about query
names and loop iterator variables)
4.) Could you give examples of how your inheritence was set
up?
5.) For CustomTags, did you call them the old <cf_tag>
way or the newer, better-performing <cfimport> way?
6.) How did you connect CF to Java exactly?
Thanks,
Aaron -
Help Please. OS 10.5, Safari 5.0.6, Flash and Java
Hi.
I am very frustrated right now. A few days ago, I upgraded my MacPro to OS 10.5 . Everything seemed to be working fine until all of a sudden a fe days ago.
Now Flash and Java don't work.
I get an error message saying missing plug-in. So I went to the adobe page to download the latest version. The only thing that would happen on that page is the banner in the middle frame disappeared and nothing would download using Safari. I opened Firefox and it was able to download it. I ran the uninstaller, then installed the newests version, 10.??? (Newest on allowed on my computer)
I rebooted the computer to be safe and opened Safari and still no flash, same message. It works fine in Firefox and Seamonkey, just not safari. I checked for plug-ins and it doesn't show up. It IS in the OS preference, but there is nothing I can see to do.
Flash makes way to many things work to just ignore it. Please help.
I have repeated this step more than once to no avail.
Secondly, Java. Java is not installed anymore. It WAS and I was having a problem with the window opening and staying open. I adjusted a setting not to open the window, then it stopped completely. I backtracked and undid the do not open window and still doesn't work.
I found a Java testing page and this is what I was given - "The page “Java Tester - Is Java Enabled?” attempted to load Java content, but Java is unavailable or not installed."
I am now downloading Java again from the apple page, 1.6.0_33. However, one poster said not to use it at all. It's difficult to do many things with no Java at all.
Please advise.
Thank you in advance for your help!Now, follow my standard upgrading advice:
Get a bootable, external HD (preferably FireWire, since it's 40-50% faster than USB 2 and designed for data transfers), make a bootable backup/clone before updating/upgrading, and ensure that it's bootable and works like the original. That allows you to revert to the previous good state without having to reinstall or reset anything. See these for details:
http://docs.info.apple.com/article.html?artnum=106941
http://www.macmaps.com/upgradefaq.html
http://www.macmaps.com/backup.html
http://www.thexlab.com/faqs/installswupdates.html
http://www.thexlab.com/faqs/backuprecovery.html
If you only have a Time Machine backup, ensure that you can reliably restore it to another disk/volume/partition before updating/upgrading. -
Sending Data from R/3 to Java and Java to SAP
Dear All,
I am working on a scenario in which I have to send data from sap system to Non-SAP system (Java System).
Now one way is that I made a RFC in my SAP system and Java can call it using JCO adapter. But In this case I am not able to understand how to go another way,means how to capture data or messages from Java.
Secondly I have searched and found that IDOC can help me lot in this process ,I am new to IDOCS but through R & D , I have made the IDOC and done the following steps:-
1. Segment Creation (WE31)
2. IDOC Types (WE30)
3. Message Type (WE81)
4. Linking Message type and IDOC type (WE82)
5. Create Distribution Model (BD64)
Now I am struck on 5th step , I am not able to distribute model when I distribute it I get the following Error
Target system AII_00_800 RFC destination for synchronous communication (message type SYNCH)
Partner profile LS AII_00_800 SYNCH does not exist
Generate partner profile
or specify outbound partner profiles for message type SYNCH
Target system JAVASYS RFC destination for synchronous communication (message type SYNCH)
Partner profile LS JAVASYS SYNCH does not exist
Generate partner profile
or specify outbound partner profiles for message type SYNCH
JAVASYS is the logical system I created using SALE and ALL_00_800 is already there in LS.
I am not able to understand that my receiver system is NON SAP system so do I have to create logical system for it , and I have IDES system as sender system with only one client 800, what are all the configuration I have to do on SAP side.
I am also not able to understand where I will write my code to fetch data based on the input provided by NON SAP system as I will have to design IDOC for both Inbound and Outbound processes.
Kindly help me out, thanks in advanceHi Kanagaraja L,
Thanks for you response.
No I haven't created Created RFC Destination , this RFC destination will be of my JAVA system ???.
I have tried creating the partner logical system in WE20 and dine the following steps:
1. Partner No. IDES800 Ides 800 System - Sender System
Partn.Type LS Logical system
2. The tab Post processing : permitted agent is filled with default parameters.
3. Then in the outbound parameter table control I have pressed the add record button and got a new screen in
which I have made the following entry :-
Partner No. IDES800 Ides 800 System - Sender System
Partn.Type LS Logical system
Partner Role LS Logical system
Message Type SYNCH ALE:Dummy Message Type for De
Message code
Message function
Under tab Outbound options :
Receiver Port = A000000008 (This I have selected from F4 help)
Basic type = SYNCHRON
Saved it with the above data.
Now I am not able to understand how to do the things you have mentioned in 3rd step in your reply.
What are all the things I have to do kindly tell , as I am very new to Idocs so don't have much knowledge.
Edited by: Rachit Khanna on Dec 7, 2009 1:49 PM -
What's the relationship between JSP and Java?
hi,dear friends here.......^_^ I'm a graphic/web designer,
cause the needed of internet web design, I started to learn html and Java server page.But I never have experience of JAVA programs. It's kind of hard for me to know and use JSP now.Should i need to learn Java first? Or can anyone tell me what's the good way for me to
learn JSP?
I also want to learn how do make a web page as the first page of java.sun.com about "Industry News ".
Thanks !!grace from Taipei,TaiwanHi! JSPs allow Java code together with HTML in one document. The servlet engine "compiles" a JSP into a servlet prior to executing it. So, one must know Java prior to dealing with JSPs.
IMVHO, "Thinking In Java" by Bruce Eckel is a very good book for introduction to Java. You can download the electronic version at no charge from http://www.bruceeckel.com.
After you get a good handle on Java, "Professional Java Server Programming" (Wrox Press) can give you good information on servlets and JSPs, along with some other related topics.
Hope this helps!
Cheers! -
Is annotation processing the same for Java 5 and Java 6?
I've been trying to use a package of annotations and processors that was evidently originally designed to be used with "apt" and Java 5. When I try to use this stuff with Java 6 I was assuming that, since the Java 6 javac handles annotations, I could just use javac instead of apt - but it doesn't work; the annotation processors don't appear to be getting executed. It looks like I have to use apt for the Java 6 build after all.
The question is, did the annotation mechanism change significantly between 5 and 6 that would account for this? Is there a way to adapt an annotation package (i.e. annotation classes and processors) that works with 5 so that it will work with 6 using javac instead of apt (or alternatively, is there a way to tell javac to process the older annotations in the same way that apt would)?PeteFord wrote:
I've been trying to use a package of annotations and processors that was evidently originally designed to be used with "apt" and Java 5. When I try to use this stuff with Java 6 I was assuming that, since the Java 6 javac handles annotations, I could just use javac instead of apt - but it doesn't work; the annotation processors don't appear to be getting executed. It looks like I have to use apt for the Java 6 build after all.
The question is, did the annotation mechanism change significantly between 5 and 6 that would account for this? Is there a way to adapt an annotation package (i.e. annotation classes and processors) that works with 5 so that it will work with 6 using javac instead of apt (or alternatively, is there a way to tell javac to process the older annotations in the same way that apt would)?If you have apt annotation processors, you can use the apt command in JDK 6.
However, the javac in JDK 6 support standardized JSR 269 annotation processing; see the javax.annotation.processing package. JSR 269 annotation processing is significantly redesigned and improved based on experiences with apt.
It would be "a small matter of programming" to port an apt annotation processor to JSR 269.
Using apt in JDK 6, you can also run both apt and javac processors from a single command line invocation. -
Communication between Abap and Java and Java to Abap
HI,
I have installed BI 7.0 and the user complaints that BEx WEB Application Designer Query results are not showing up in the WEB URL Link.
and the BI user suggests that communication between Abap to java and Java to Abap has to be done?
How to setup ABAP to JAVA and JAVA to ABAP communication?
Regards,
Magham.Hi,
Jco conn from ABAP to Java
=====================
You can use the JCO RFC Provider Service of the Web Application Server for your ABAP to Java calls.
The steps involved in that are
1. Configure destination in SM59 in SAP.
2. Create RFC Destination in Visual Admin.
3. Create a stateless session bean with JNDI name as the name of calling function module in SAP.
4. Add a business method public void processFunction(JCO.Funtion fn) which is called by the JCO RFC Provider Service. The name should be 'processFunction'.
5. Set library references in application-j2ee-engine.xml to type weak for the following
a. com.sap.mw.jco.
b. com.sap.tc.Logging (if you are using the logging api )
Here is the sample code for the EJB biz method
Business Method.
public void processFunction(JCO.Function function) {
try {
// Get the import parameters for the function module
JCO.ParameterList importList = function.getImportParameterList();
logger.infoT("The value sent is" +
(String)importList.getValue("USER_NAME"));
// Set the export parameter value for the function module
JCO.ParameterList export = function.getExportParameterList();
export.setValue("From EJB", "RETURN");
function.setExportParameterList(export);
catch (java.lang.Exception e) {
e.printStackTrace();
Jco conn from Java to others(ex:ABAP)
=====================-==========
Open Visual Admin(C:\usr\sap\SID\JCxx\j2ee\admin\go.bat) and connect to server
Go to Destinations service
Open HTTP Settings Tab
Add/Edit destination SLD_DataSupplier and type following values
URL http://xyz.corp:53000
Authentication - BASIC
User dynproxxx
Password - bp52st000
Press save and test (if you get response code 200 everything is o.k.)
Add/Edit other HTTP Destination named SLD_Client with the same values as SLD_DataSupplier:
URL http://xyz.corp:53000
Authentication - BASIC
User dynproxxx
Password - bp52st000
Press save and test (if you get response code 200 everything is o.k.)
Go to SLD Data Supplier service.
Press the button named: Send the Data to SLD and confirm triggering SLD Data transfer (if you receive successful message everything is o.k.).
===================
following blog might helpfull
=======================
/people/michal.krawczyk2/blog/2005/03/10/registering-a-new-technical-system-in-sld--abap-based
for basic infor
==============
http://help.sap.com/saphelp_nw04s/helpdata/en/21/84570b3ae14e77b3047c82218974b9/frameset.htm
Award points if it helps -
Hello,
I'm new and was wondering if anyone used UML in the design phase of ADF projects, and also I"m wondering if BPM is pertinant to the JDeveloper programmer.
Thanks,
BobNaresh,
Ever heard of "vendor lock-in" ?? If you're forced to use WLI-specific features,
including its way of representing processes, you have no choice but to stay with
BEA & WLI.
mw
"Naresh Bhatia" <[email protected]> wrote:
>
Come on! No one has any opinion on this? I was hoping that at least someone
from
BEA would be able to give me some insight.
Thanks. -
Unable to connect to CMC and Java Infoview
Hi
I am unable to connect to CMC and Java Infoview. When I am attempting to connect, then the following message is displayed.
"Oops! Internet Explorer could not connect to <web server>:<port number>"
Please give me some suggestions.
Thanks!Hi Stratos
I uninstalled the designer and repaired Crystal Reports Server. But it did not help.
The CMS is running now. But I cannot find all the other services and I am getting the same error when I try to open CMC or InfoView.
I found some of these errors in my system's event viewer:
NT Service message: NT Service Initialization Problem.
The root server reported an error Initialization Failure.
The source for both these errors is BusinessObjects_CMS.
Please suggest something
Thanks
Maybe you are looking for
-
Microsoft Windows section is not showing up in Installed Updates
I have found two instances of this issue, but not one resolution. I'm attempting to remove KB2670838 from a machine. This update is causing issues with a Dental software pkg, and needs to be removed. I have found this update on my personal machine, b
-
My Mackbook won't boot - Question Mark Folder
Hi Everyone, I've got a problem and I don't know how to fix it for the life of me. Last week my friend was trying to delete a program using the terminal. He looked it up online and found detailed instructions on how to delete it but it ended up delet
-
My phone has no more storage but it says i have 5gb on icloud but i don't know how to use them.
-
I have this stored procedure to check if someone ordered a Cancellation date on the line before cancelling it but when i try to add another condition where it should also check for cancellation code it fails. It works if they are individually used. A
-
Screen capture without cursor blinks
Hi, Is there any way to make a screen capture without having a cursor blinks (it's the case of using Robot's method : createScreenCapture ) thanks